- IRPasscode is a powerful passcode for iOS.
- 4 Pin support.
- FingerPrint support.
- High Security - KeyChain support.
- Git clone this project.
- Copy this project into your own project.
- Add the .xcodeproj into you project and link it as embed framework.
- You can remove the
demo
andScreenShots
folder.
- Add
pod 'IRPasscode'
in thePodfile
pod install
- Open
Passcode Setting Page
.
#import <IRPasscode/IRPasscode.h>
NSBundle *xibBundle = [NSBundle bundleForClass:[IRPasscodeLockSettingViewController class]];
IRPasscodeLockSettingViewController *vc = [[IRPasscodeLockSettingViewController alloc] initWithNibName:@"IRPasscodeLockSettingViewController" bundle:xibBundle];
[self.navigationController pushViewController:vc animated:YES];
- Open
Passcode verify page
.
if ([IRSecurityPinManager sharedInstance].pinCode)
[[IRSecurityPinManager sharedInstance] presentSecurityPinViewControllerForUnlockWithAnimated:YES completion:nil result:nil];
Demo | Passcode Settings |
---|---|
Set Passcode | Confirm Passcode |
Confirm Passcode Fail | Change Passcode |
Unlock Passcode | Demo Private Data |