MBDocumentOverlayViewController
Objective-C
@interface MBDocumentOverlayViewController : MBBaseOverlayViewController
Swift
class MBDocumentOverlayViewController : MBBaseOverlayViewController
Default overlay when using ID card recognizers.
-
Common settings
Declaration
Objective-C
@property (nonatomic, strong, readonly) MBDocumentOverlaySettings *_Nonnull settings;
Swift
var settings: MBDocumentOverlaySettings { get }
-
Delegate
Declaration
Objective-C
@property (nonatomic, weak, readonly) id<MBDocumentOverlayViewControllerDelegate> _Nullable delegate;
Swift
weak var delegate: (any MBDocumentOverlayViewControllerDelegate)? { get }
-
Designated intializer.
Declaration
Objective-C
- (nonnull instancetype) initWithSettings:(nonnull MBDocumentOverlaySettings *)settings recognizerCollection:(nonnull MBRecognizerCollection *)recognizerCollection delegate:(nonnull id<MBDocumentOverlayViewControllerDelegate>) delegate;
Swift
init(settings: MBDocumentOverlaySettings, recognizerCollection: MBRecognizerCollection, delegate: any MBDocumentOverlayViewControllerDelegate)
Parameters
settings
MBDocumentOverlaySettings object
recognizerCollection
MBRecognizerCollection object
Return Value
initialized overlayViewController