SCCameraKitTextInputKeyboardAccessoryProvider
@protocol SCCameraKitTextInputKeyboardAccessoryProvider <NSObject>
Protocol for representing a text input view on-screen for lenses that request it.
-
The view to show on top of the keyboard.
Declaration
Objective-C
@property (strong, nonatomic, readonly) UIView *accessoryView
-
The text view associated with the input being provided.
Declaration
Objective-C
@property (strong, nonatomic, readonly) UITextView *textView
-
Placeholder text to show in the text view before the user has input any text. May be empty.
Declaration
Objective-C
@property (nonatomic, copy, nullable) NSString *placeholderText;
-
The maximum height the accessoryView can grow to. This will be considered when setting the safe area for the lens.
Declaration
Objective-C
@property (nonatomic, readonly) CGFloat maximumHeight;