RFSFaceCaptureContentView
Objective-C
@interface RFSFaceCaptureContentView : RFSPassthroughView <RFSOverriding>
Swift
class FaceCaptureContentView : PassthroughView, Overriding
Undocumented
-
Instructions for face detection. Does not support overrding.
Declaration
Objective-C
@property (nonatomic, readonly, nonnull) RFSHintView *hintView;
Swift
var hintView: HintView { get }
-
Toolbar with control buttons. Does not support direct overrding – use Configuration’s
registerClass
method in order to provide your implementation.Declaration
Objective-C
@property (nonatomic, readonly, nonnull) RFSCameraToolbarView *toolbarView;
Swift
var toolbarView: CameraToolbarView { get }
-
Undocumented
Declaration
Objective-C
- (void)setBackgroundColor:(nullable UIColor *)color forState:(RFSFaceCaptureContentViewState)state UI_APPEARANCE_SELECTOR;
Swift
func setBackgroundColor(_ color: UIColor?, for state: FaceCaptureContentViewState)
-
Undocumented
Declaration
Objective-C
- (nullable UIColor *)backgroundColorForState:(RFSFaceCaptureContentViewState)state UI_APPEARANCE_SELECTOR;
Swift
func backgroundColor(for state: FaceCaptureContentViewState) -> UIColor?
-
Setups default constraints. Can be overriden to provide custom layout constraints.
Declaration
Objective-C
- (void)setupConstraints;
Swift
func setupConstraints()