PatternLock 1.0.0× 测试已测试✗ 语言语言 Obj-CObjective C许可 MIT 发布最新发布2014年12月由 Suraj 维护。安装指南×PatternLock 安装指南您想将以下类似内容添加到 Podfile 中 pod 'PatternLock', '~> 1.0'target 'MyApp' do pod 'PatternLock', '~> 1.0' end然后在您的终端内部或从 CocoaPods.app 运行 pod install或者,为了进行测试运行,运行命令pod try PatternLock查看 PodspecGitHub 仓库CocoaPods.org 上的页面PatternLock 1.0.0由Suraj Pathakfreesuraj/PatternLockGitHub 仓库 Pattern Lock for iOS 一个简单但功能齐全的 iOS 模式锁 SDK(类似安卓模式锁) 没有图形或图像 所有颜色和大小都是可自定义的 可以启用闭式(复杂类型)模式,默认为关闭 支持 iPhone 和 iPad 易于引入和使用 如何使用 初始化 - (id)initWithDelegate:(id)lockDelegate 识别一个模式 - (void)lockScreen:(SPLockScreen *)lockScreen didEndWithPattern:(NSNumber *)patternNumber 然后您可以对匹配进行您想要的任何处理 就这样!