Assesses whether authentication can proceed for a given policy.
- iOS 8.0+
- macOS 10.10+
- Mac Catalyst 13.0+
true if the policy can be evaluated, otherwise
Some policies impose requirements that must be met before authentication can proceed. For example, a policy that requires biometrics can’t authenticate if Touch ID or Face ID is disabled. This method tests all the prerequisites for a given policy.
Don’t store the return value from this method because it might change as a result of changes in the system. For example, a user might disable Touch ID after you call this method. However, the reported value does remain consistent until your app enters the background.