MBBlinkIdOverlayViewController
public class MBBlinkIdOverlayViewController : MBCustomOverlayViewController
MBBlinkIdOverlayViewController
contains the UI of BlinkIDUI
module.
It contains UI components that guide user through scanning process.
Main components are:
MBViewfinderView
DocumentSelection
storyboard which presents the user with a way to change the type of document they are scanning.Buttons to turn on/off the torch and dismiss the BlinkIDUI
view controller.
Note
Most of the UI aspects are customizable either by changing the properties defined through extensions of UIFont
and UIColor
presented in MBTheme
file, or by changing the various properties through MBBlinkSettings
sharedInstance.
-
Initializes the viewcontroller defined in
MBBlinkIDOverlay.storyboard
.Declaration
Swift
public class func initFromStoryboard() -> MBBlinkIdOverlayViewController
-
Declaration
Swift
override public func viewDidLoad()
-
Declaration
Swift
public override func viewDidAppear(_ animated: Bool)
-
Declaration
Swift
override public func viewWillAppear(_ animated: Bool)
-
Declaration
Swift
public override func viewWillDisappear(_ animated: Bool)
-
Declaration
Swift
override public func viewDidLayoutSubviews()
-
Declaration
Swift
public override func prepare(for segue: UIStoryboardSegue, sender: Any?)
-
Declaration
Swift
public func recognizerRunnerViewController(_ recognizerRunnerViewController: UIViewController & MBRecognizerRunnerViewController, didFinishGlareDetectionWithResult glareFound: Bool)
-
Declaration
Swift
public func recognizerRunnerViewController(_ recognizerRunnerViewController: UIViewController & MBRecognizerRunnerViewController, didFinishDetectionWithDisplayablePoints displayablePoints: MBDisplayablePointsDetection)