ACFacialViewController
public class ACFacialViewController : ACCaptureFaceViewController
A view controller that collects images of the user’s face.
-
The delegate that receives face detection events.
Declaration
Swift
public var facialDelegate: ACFacialViewControllerDelegate? -
The number of faces to capture
Declaration
Swift
public var numFaces: UInt -
Creates an ACFacialViewController, which is used to process a Facial authentication request. If bundleIndentifier and nibName are nil, Activeconnects default Facial view cotroller is created. By specifiying these values you can override the appearance of the Facial 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 the facialBundleIdentifier and facialNibName of your ACAuthenticationViewController.
Declaration
Swift
public init?(delegate: ACFacialViewControllerDelegate, bundleIdentifier: String?, nibName: String?)Parameters
delegateACFacialViewControllerDelegatecalled when the facial authentication step has been completed.bundleIndentifierThe bundle in which to search for the nib file.
nibNameThe name of the nib file to associate with the view controller.
ACFacialViewController Class Reference