开发者

SFAuthorizationView authorize apps preferences without changing rights

what if I just want to use SFAuthorizationView for "setEnabled: YES/NO" of parts of UI (let's say check boxes)? I开发者_Go百科 don't want to work with rights at all. I just want to know that user has set the right password asociated with his username... That's all... Is there any way how to do that without setting things like AuthorizationFlags?


It sounds like you would want to set the kAuthorizationRuleAuthenticateAsSessionUser for your custom right. I don't think you can cause a prompt without authorizing rights. See the official Apple docs for more detail.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜