IPOSViewController
public class IPOSViewController : UIViewController
View controller for performing OS authentication.
ACOSViewControllers are created by IPAuthenticationViewController
.
A custom UI can be provided by creating a nib file containing an IPOSViewController
and set the values of IPAuthenticationViewController.osBundleIdentifier
and IPAuthenticationViewController.osNibName
.
-
The message to display on the unlock sreen.
Declaration
Swift
@IBInspectable public var unlockMessage: String
-
Creates an IPOSViewController, which is used to process an OS authentication request. If bundleIndentifier and nibName are nil, IAMPASS’ default OS view cotroller is created. By specifiying these values you can override the appearance of the OS view controller in your application. To do this create a new ViewController in Interface Builder and set the Class and Module properties in the Identity Inspector. Then set
IPAuthenticationViewController.osBundleIdentifier
andIPAuthenticationViewController.osNibName
of your IPAuthenticationViewController.Declaration
Swift
public init?(delegate: IPOSViewControllerDelegate, bundleIdentifier: String?, nibName: String?)
Parameters
delegate
IPOSViewControllerDelegate called when the OS authentication step has been completed.
bundleIndentifier
String? The bundle in which to search for the nib file.