What is TOPasscodeViewController?

TOPasscodeViewController is an open-source UIViewController subclass that will overlay a full-screen passcode UI over an app’s content. The user must enter the correct password into it in order to proceed, or hit ‘Cancel’ to exit the private part of the app.

This sort of UI is useful for certain apps that contain highly sensitive information (such as banking or health) where users may indeed want an extra level of security beyond the standard iOS passcode.

Features:

  • Prompts users to enter a passcode in order to proceed.
  • May be presented as a translucent overlay, partially showing the normal app content behind it.
  • Supports 4 different passcode types, from 4-digit passcodes, up to full alphanumeric passcodes.
  • Supports 4 base themes, including translucent/opaque and light/dark.
  • Supports Touch ID validation.
  • Provides an additional settings view controller for letting users change their passcode.
  • Passcode validation is handled by the parent app through a variety of delegate callbacks.
  • A custom animation and layout when the device is rotated to landscape mode on iPhone.
  • Custom ‘opening’ and ‘dismissal’ animations.

Overview

  • Pricing: Free
  • Resource Link: https://github.com/timoliver/TOPasscodeViewController
  • Resource Maker: Tim Oliver
  • Mobile Platform Destination: iOS Apps
  • Mobile Platform Support: Native iOS
  • Programming Languages: Objective-C
  • iOS Versions Supported: iOS 8.0+, iOS 9.0+, iOS 10.0+, iOS 11.0+, iOS 12.0+
  • CocoaPods: TOPasscodeViewController