首页 > 代码库 > [翻译] ABPadLockScreen
[翻译] ABPadLockScreen
ABPadLockScreen
ABPadLockScreen aims to provide a universal solution to providing a secure keypad/pin lock screen to your iPhone or iPad app. With just a few lines you can have a full lock screen module ready to go.
ABPadLockScreen 旨在提供一个通用的解决方案,用以提供锁屏的效果,只需要几行代码,你就可以进行锁屏了:)
Features
- Supports iPhone and iPad 支持iPhone与iPad
- Allows the user to set their PIN 允许用户设置PIN
- Optional PIN entry limit 可选择是否限制PIN输入
- Optional cancel button 可选择是否显示取消按钮
- Optional text modification 可选择是否可以编辑文本
- Optional pin length (default is 4) 可选择的文本长度
- Full appearance customisation 完整的界面定制
Customising the Appearance
The module is entirely customisable through UIAppearance. All colours and fonts used within the module can be set using the UIAppearance proxy. The example project shows how to do this, but for a more in depth look at UIAppearance check out the docs check out the docs or check out Matt Thompson’s article on NSHipster
这个是完全通过UIAppearance来定制的。里面用到的颜色或者字体都可以通过UIAppearance proxy来设置。示例项目里面已经显示出如何做这些了,如果想了解得更深入,请查看以下文档。
[翻译] ABPadLockScreen