MMTouchIDManager
MMTouchIDManager
provides an easy way to manage TouchID hardware.
Requirements
- iOS 8
- ARC
Installation
MMTouchIDManager is available through CocoaPods. To install it, simply add the following line to your Podfile:
pod 'MMTouchIDManager'
and to show the Touch ID Dialog with your custom message, just add this line:
[[MMTouchIDManager sharedInstance] presentTouchIdDialogIfNeededWithMessage:@"Do you want to access with to the BEST APP in the world with your Touch id?" andCompletion:^(BOOL accessEnabled) {
if (accessEnabled) {
[self showAlertWithMessage:@"Congratulations!!! Your are in!" withRetry:false];
}else{
[self showAlertWithMessage:@"Ooops, your are not in!" withRetry:true];
}
}];
Author
iMark21, marques.jm@icloud.com
License
MMTouchIDManager is available under the MIT license. See the LICENSE file for more info.