Skip to content

unklayman/ABPadLockScreen

 
 

Repository files navigation

ABLogo

Build Status

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

screenshot

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.1.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

Custom Text

Locked out

License

ABPadLockScreen is available under the MIT license. See the LICENSE file for more info.

About

A simple keypad lock screen for the iPad

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Objective-C 98.2%
  • Ruby 1.8%