IPFacialViewController
public class IPFacialViewController : IPCaptureFaceViewController
A view controller that collects images of the user’s face.
-
The delegate that receives face detection events.
Declaration
Swift
public var facialDelegate: IPFacialViewControllerDelegate?
-
The number of faces to capture
Declaration
Swift
public var numFaces: UInt
-
Creates an IPFacialViewController, which is used to process a Facial authentication request. If bundleIndentifier and nibName are nil, IAMPASS’ 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 IPAuthenticationViewController.
Declaration
Swift
public init?(delegate: IPFacialViewControllerDelegate, bundleIdentifier: String?, nibName: String?)
Parameters
delegate
IPFacialViewControllerDelegate
called when the facial authentication step has been completed.bundleIndentifier
The bundle in which to search for the nib file.
nibName
The name of the nib file to associate with the view controller.