One Logo Pool Ball
UIKit · IOS API REFERENCE

UITextInteraction

class · iOS 13.0+ · SDK 27.1

@MainActor class UITextInteraction

Members (7)

init · iOS 13.0+

init

TypeScript
static init(mode: UITextInteractionMode): Promise<UITextInteraction>
Swift declaration
convenience init(for mode: UITextInteractionMode)
get · iOS 13.0+

delegate

TypeScript
get delegate(): Promise<(SDKHandle) | null>
Swift declaration
weak var delegate: (any UITextInteractionDelegate)? { get set }
set · iOS 13.0+

delegate

TypeScript
setDelegate(value?: (Implements<UITextInteractionDelegate> | SDKHandle) | null): Promise<void>
Swift declaration
weak var delegate: (any UITextInteractionDelegate)? { get set }
get · iOS 13.0+

gesturesForFailureRequirements

TypeScript
get gesturesForFailureRequirements(): Promise<Array<UIGestureRecognizer>>
Swift declaration
var gesturesForFailureRequirements: [UIGestureRecognizer] { get }
get · iOS 13.0+

textInput

TypeScript
get textInput(): Promise<((UIResponder) & (SDKHandle)) | null>
Swift declaration
weak var textInput: (any UIResponder & UITextInput)? { get set }
set · iOS 13.0+

textInput

TypeScript
setTextInput(value?: ((UIResponder) & (SDKHandle)) | null): Promise<void>
Swift declaration
weak var textInput: (any UIResponder & UITextInput)? { get set }
get · iOS 13.0+

textInteractionMode

TypeScript
get textInteractionMode(): Promise<UITextInteractionMode>
Swift declaration
var textInteractionMode: UITextInteractionMode { get }

Skipped declarations

1 declarations were excluded from these bindings. Each reason comes from the generator or the iOS SDK compiler.

UITextInteraction.init()

inherited init: cannot prove legal (class declares 2 custom initializers)

All UIKit types →