区块链、APP、公众号、小程序、物联网、智能硬件、网站开发新模式,安全,超速,可控。
当前位置:首页 > 资源中心 > iOS
资源详情

iOS


如何使用WJTouchID

  • 将WJTouchID文件夹中的两个文件(WJTouchID.h``WJTouchID.m)拖入项目中
  • 导入头文件:#import "WJTouchID.h"

/** 发起TouchID验证 */ [[WJTouchID touchID] startWJTouchIDWithMessage:@"The Custom Message" fallbackTitle:@"Fallback Title" delegate:self]; /** 通过代理方法监听TouchID验证的所有结果 */ /** 其中的成功回调和失败回调是必须要实现的,其他的按实际情况各取所需 */ @required - (void)WJTouchIDAuthorizeSuccess; 
- (void)WJTouchIDAuthorizeFailure; @optional - (void)WJTouchIDIsNotSupport;
- (void)WJTouchIDAuthorizeErrorAppCancel;
- (void)WJTouchIDAuthorizeErrorUserCancel; 
- (void)WJTouchIDAuthorizeErrorUserFallback; 
- (void)WJTouchIDAuthorizeErrorSystemCancel; 
- (void)WJTouchIDAuthorizeErrorPasscodeNotSet; 
- (void)WJTouchIDAuthorizeErrorTouchIDLockout;
- (void)WJTouchIDAuthorizeErrorInvalidContext;
- (void)WJTouchIDAuthorizeErrorTouchIDNotEnrolled; 
- (void)WJTouchIDAuthorizeErrorTouchIDNotAvailable;

出处:https://github.com/bringbird/WJTouchID
感谢作者!!!

资源介绍
忆寒云 来源者
资源名称:iOS
格式:zip
大小:1.17M
颜色:
风格:
上传时间:2017-10-31
资源价格:
0.00
你可能在找这些资源