iMark21 / MMTouchIDManager

Manage the TouchID on your apps

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

MMTouchIDManager

MMTouchIDManager provides an easy way to manage TouchID hardware.

CI Status Version License Platform

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.

About

Manage the TouchID on your apps

License:MIT License


Languages

Language:Shell 63.2%Language:Objective-C 31.3%Language:Ruby 5.4%