- IRPasscode-swift is a powerful passcode for iOS.
- The Objc version IRPasscode.
- 4 Pin support.
- FingerPrint support.
- High Security - KeyChain support.
- KeyChain support (KeychainAccess).
- 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-swift'
in thePodfile
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 |