Skip to content

irons163/IRPasscode

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Build Status Platform

IRPasscode

  • IRPasscode is a powerful passcode for iOS.

Features

  • 4 Pin support.
  • FingerPrint support.
  • High Security - KeyChain support.

Install

Git

  • Git clone this project.
  • Copy this project into your own project.
  • Add the .xcodeproj into you project and link it as embed framework.

Options

  • You can remove the demo and ScreenShots folder.

Cocoapods

  • Add pod 'IRPasscode' in the Podfile
  • pod install

Usage

Basic

  • 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];

Screenshots

Demo Passcode Settings
Demo Passcode Settings
Set Passcode Confirm Passcode
Set Passcode Confirm Passcode
Confirm Passcode Fail Change Passcode
Confirm Passcode Fail Change Passcode
Unlock Passcode Demo Private Data
Unlock Passcode Demo Private Data