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.
Features
- Supports iPhone and iPad
- Allows the user to set their PIN
- Optional PIN entry limit
- Optional cancel button
- Optional text modification
- Optional pin length (default is 4)
- Full appearance customisation
Installation with Cocoapods
CocoaPods is the easiest way to manage your iOS/OSX dependencies. Check out their getting started guide to see how to set it up. If you have cocoapods setup on your machine, simply set the spec like this:
Podfile
platform :ios, '6.0'
pod "ABPadLockScreen", "~> 3.3.0"
The earliest version of this framework that supports cocoapods is 3.0.0
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
Contributing
I love seeing people contribute to the ABPadLockscreen. It's had some great new features already contributed by some talented folks. If you want to contribute please issue a pull request to the develop branch of this repository. I'll review them and if it looks good we'll merge and push it in the next release!
License
ABPadLockScreen is available under the MIT license. See the LICENSE file for more info.