MBPFieldByFieldOverlayViewController
Objective-C
@interface MBPFieldByFieldOverlayViewController : MBPOverlayViewController
Swift
class MBPFieldByFieldOverlayViewController : MBPOverlayViewController
View Controller responsible for view hierarchy for Form OCR scannning. This view hierarchy is added as an overlay to Camera preview
-
Designated initializer of the overlay. All scan settings from the recognizer runner will be removed and generated anew with passed MBPScanElement array.
Declaration
Objective-C
- (nonnull instancetype) initWithSettings:(nonnull MBPFieldByFieldOverlaySettings *)settings delegate:(nonnull id<MBPFieldByFieldOverlayViewControllerDelegate>) delegate;
Swift
init(settings: MBPFieldByFieldOverlaySettings, delegate: any MBPFieldByFieldOverlayViewControllerDelegate)
-
Delegate which is notified with important UI events
Declaration
Objective-C
@property (nonatomic, weak) id<MBPFieldByFieldOverlayViewControllerDelegate> _Nullable delegate;
Swift
weak var delegate: (any MBPFieldByFieldOverlayViewControllerDelegate)? { get set }