12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061 |
- //
- // JZTouchIDTool.h
- // JIZHANG
- //
- // Created by xiaoxi on 2017/12/20.
- // Copyright © 2017年 kuxuan. All rights reserved.
- //
- #import <Foundation/Foundation.h>
- @interface JZTouchIDTool : NSObject
- + (void)setNeedTouchIDYes;
- + (void)setNeedTouchIDNo;
- + (BOOL)needTouchID;
- + (void)openTouchID;
- + (void)closeTouchID;
- + (BOOL)isOpenTouchID;
- + (BOOL)supportTouchID;
- + (BOOL)canTouchID;
- + (void)validateTouchID;
- @end
- /*
- * 验证成功
- */
- UIKIT_EXTERN NSString *const JZValidateTouchIDSuccess;
- /*
- * 验证失败
- */
- UIKIT_EXTERN NSString *const JZValidateTouchIDFailure;
- /*
- * 取消验证
- */
- UIKIT_EXTERN NSString *const JZValidateTouchIDCancel;
- /*
- * 输入密码
- */
- UIKIT_EXTERN NSString *const JZValidateTouchIDUserFallback;
- /*
- * 设备未设置密码
- */
- UIKIT_EXTERN NSString *const JZValidateTouchIDPasscodeNotSet;
- /*
- * 设备指纹不可用
- */
- UIKIT_EXTERN NSString *const JZValidateTouchIDNotAvailable;
- /*
- * 设备未设置指纹
- */
- UIKIT_EXTERN NSString *const JZValidateTouchIDNotEnrolled;
- /*
- * 设备指纹被锁定
- */
- UIKIT_EXTERN NSString *const JZValidateTouchIDLockout;
- /*
- * 验证指纹被禁止
- */
- UIKIT_EXTERN NSString *const JZValidateTouchIDInvalidContext;
|