- IRPasscode-swift is a powerful passcode for iOS.
- The Objc version IRPasscode.
- 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
and ScreenShots
folder.
- Add
pod 'IRPasscode-swift'
in the Podfile
pod install
- Open
Passcode Setting Page
.
import IRPasscode_swift
let xibBundle = Bundle.init(for: IRPasscodeLockSettingViewController.self)
let vc = IRPasscodeLockSettingViewController.init(nibName: "IRPasscodeLockSettingViewController", bundle: xibBundle)
self.navigationController?.pushViewController(vc, animated: true)
- Open
Passcode verify page
.
if ((IRSecurityPinManager.sharedInstance.pinCode) != nil) {
IRSecurityPinManager.sharedInstance.presentSecurityPinViewControllerForUnlock(animated: true, completion: nil, result: nil)
}
Demo |
Passcode Settings |
|
|
Set Passcode |
Confirm Passcode |
|
|
Confirm Passcode Fail |
Change Passcode |
|
|
Unlock Passcode |
Demo Private Data |
|
|