PINViewios加密解鎖
PINView 讓你實(shí)現(xiàn)加密解鎖屏幕的操作,需要輸入 4 個數(shù)字解鎖碼。
使用方法:
GCPINViewController *PIN = [[GCPINViewController alloc]
initWithNibName:nil
bundle:nil
mode:GCPINViewControllerModeCreate];
PIN.messageText = @"Create Passcode";
PIN.errorText = @"The passcodes do not match";
PIN.verifyBlock = ^(NSString *code) {
NSLog(@"setting code: %@", code);
return YES;
};
[PIN presentFromViewController:self animated:YES];
[PIN release];評論
圖片
表情
