SCCameraKitTextInputContextProvider
Objective-C
@protocol SCCameraKitTextInputContextProvider <NSObject>
Swift
protocol TextInputContextProvider : NSObjectProtocol
Protocol to provide keyboard input data to lenses.
-
A parent view in which to embed a text view. Unless reconfigured by providing a keyboardAccessoryProvider, this text view will not be visible to the user.
Declaration
Objective-C
@property (nonatomic, weak, readonly) UIView *_Nullable parentView;
Swift
weak var parentView: UIView? { get }
-
Object which describes a user-visible input view for text input. Typically, this is a styled text view that appears above the keyboard interface.
Declaration
Objective-C
@property (nonatomic, strong, readonly, nullable) id<SCCameraKitTextInputKeyboardAccessoryProvider> keyboardAccessoryProvider;
Swift
var keyboardAccessoryProvider: TextInputKeyboardAccessoryProvider? { get }