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.
精彩评论