ACOSViewController
public class ACOSViewController : UIViewController
View controller for performing OS authentication.
ACOSViewControllers are created by ACAuthenticationViewController
.
A custom UI can be provided by creating a nib file containing an ACOSViewController
and set the values of ACAuthenticationViewController.osBundleIdentifier
and ACAuthenticationViewController.osNibName
.
-
The message to display on the unlock sreen.
Declaration
Swift
@IBInspectable public var unlockMessage: String
-
Creates an ACOSViewController, which is used to process an OS authentication request. If bundleIndentifier and nibName are nil, Activeconnects 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
ACAuthenticationViewController.osBundleIdentifier
andACAuthenticationViewController.osNibName
of your ACAuthenticationViewController.Declaration
Swift
public init?(delegate: ACOSViewControllerDelegate, bundleIdentifier: String?, nibName: String?)
Parameters
delegate
ACOSViewControllerDelegate called when the OS authentication step has been completed.
bundleIndentifier
String? The bundle in which to search for the nib file.