MBPFieldOfViewOverlayViewController
Objective-C
@interface MBPFieldOfViewOverlayViewController : MBPBaseOverlayViewController
Swift
class MBPFieldOfViewOverlayViewController : MBPBaseOverlayViewController
Default overlay when using some PhotoPay recognizers.
-
Common settings
Declaration
Objective-C
@property (nonatomic, strong, readonly) MBPFieldOfViewOverlaySettings *_Nonnull settings;
Swift
var settings: MBPFieldOfViewOverlaySettings { get }
-
Delegate
Declaration
Objective-C
@property (nonatomic, weak, readonly) id<MBPFieldOfViewOverlayViewControllerDelegate> _Nullable delegate;
Swift
weak var delegate: (any MBPFieldOfViewOverlayViewControllerDelegate)? { get }
-
Designated intializer.
Declaration
Objective-C
- (nonnull instancetype) initWithSettings:(nonnull MBPFieldOfViewOverlaySettings *)settings recognizerCollection:(nonnull MBPRecognizerCollection *)recognizerCollection delegate: (nonnull id<MBPFieldOfViewOverlayViewControllerDelegate>) delegate;
Swift
init(settings: MBPFieldOfViewOverlaySettings, recognizerCollection: MBPRecognizerCollection, delegate: any MBPFieldOfViewOverlayViewControllerDelegate)
Parameters
settings
MBPFieldOfViewOverlaySettings object
recognizerCollection
MBPRecognizerCollection object
Return Value
initialized overlayViewController