SBSDKUICheckRecognizerViewController
@interface SBSDKUICheckRecognizerViewController : SBSDKUICameraViewController
A Ready-To-Use viewcontroller to recognize checks using the camera.
-
Creates a new instance of ‘SBSDKUICheckRecognizerViewController’ and presents it modally.
Declaration
Objective-C
+ (nonnull instancetype) presentOn:(nonnull UIViewController *)presenter configuration:(nonnull SBSDKUICheckRecognizerConfiguration *)configuration andDelegate: (nullable id<SBSDKUICheckRecognizerViewControllerDelegate>)delegate;
Swift
class func present(on presenter: UIViewController, configuration: SBSDKUICheckRecognizerConfiguration, andDelegate delegate: SBSDKUICheckRecognizerViewControllerDelegate?) -> Self
Parameters
presenter
The view controller the new instance should be presented on.
configuration
The configuration to define look and feel of the new detection view controller.
delegate
The delegate of the new detection view controller.
Return Value
A new instance of ‘SBSDKUICheckRecognizerViewController’.
-
Creates a new instance of ‘SBSDKUICheckRecognizerViewController’.
Declaration
Objective-C
+ (nonnull instancetype) createNewWithConfiguration: (nonnull SBSDKUICheckRecognizerConfiguration *)configuration andDelegate: (nullable id<SBSDKUICheckRecognizerViewControllerDelegate>) delegate;
Swift
class func createNew(with configuration: SBSDKUICheckRecognizerConfiguration, andDelegate delegate: SBSDKUICheckRecognizerViewControllerDelegate?) -> Self
Parameters
configuration
The configuration to define look and feel of the new detection view controller.
delegate
The delegate of the new detection view controller.
Return Value
A new instance of ‘SBSDKUICheckRecognizerViewController’.
-
The receivers delegate.
Declaration
Objective-C
@property (nonatomic, weak, nullable) id<SBSDKUICheckRecognizerViewControllerDelegate> delegate;
Swift
weak var delegate: SBSDKUICheckRecognizerViewControllerDelegate? { get set }
-
Enables or disables the recognition.
Declaration
Objective-C
@property (nonatomic, assign, unsafe_unretained, readwrite, getter=isRecognitionEnabled) BOOL recognitionEnabled;
Swift
var isRecognitionEnabled: Bool { get set }