Last active
August 29, 2015 14:06
-
-
Save adamjleonard/96e52f88b63f2888eca6 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
func requestFingerprintAuthentication() { | |
let context = LAContext() | |
var authError: NSError? | |
let authenticationReason: String = "To display a message to the user" | |
if context.canEvaluatePolicy(LAPolicy.DeviceOwnerAuthenticationWithBiometrics, error: &authError) { | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment