SPTouchID 0.1.8

SPTouchID 0.1.8

ssowri1维护。



SPTouchID 0.1.8

  • 作者
  • ssowri1

SPTouchID

CI Status Version License Platform

Screenshot

示例

要运行示例项目,首先克隆仓库,然后在示例目录中运行pod install

/// 生物识别类实例 var biometricAuth = SPAuthentication() biometricAuth.delegate = self biometricAuth.start()

// MARK:- 身份验证代理扩展 SPTouchIDViewController: LocalAuthDelegate { func authenticationFinished(string: String) { DispatchQueue.main.async { self.promtLabel.text = "" self.validationPassed() } } func authenticationFinishedWithError(error: String) { DispatchQueue.main.async { self.promtLabel.text = error } } }

要求

安装

SPTouchID可通过CocoaPods获得。要安装它,只需将以下行添加到Podfile中

pod 'SPTouchID','~> 0.1.7'

作者

ssowri1, [email protected]

许可

SPTouchID 在 MIT 许可下可用。更多信息请参阅 LICENSE 文件。