addShortcut
TypeScriptaddShortcut(text: string, presentationRect: { x: number; y: number; width: number; height: number }): Promise<void>Swift declarationfunc addShortcut(forText text: String, from presentationRect: CGRect)class · iOS 17.4+ · SDK 27.1
@MainActor class BETextInteractionaddShortcut(text: string, presentationRect: { x: number; y: number; width: number; height: number }): Promise<void>Swift declarationfunc addShortcut(forText text: String, from presentationRect: CGRect)dismissEditMenuForSelection(): Promise<void>Swift declarationfunc dismissEditMenuForSelection()editabilityChanged(): Promise<void>Swift declarationfunc editabilityChanged()static init(): Promise<BETextInteraction>Swift declarationinit()presentEditMenuForSelection(): Promise<void>Swift declarationfunc presentEditMenuForSelection()refreshKeyboardUI(): Promise<void>Swift declarationfunc refreshKeyboardUI()selectionBoundaryAdjusted(point: { x: number; y: number }, touch: BESelectionTouchPhase, flags: BESelectionFlags): Promise<void>Swift declarationfunc selectionBoundaryAdjusted(to point: CGPoint, touchPhase touch: BESelectionTouchPhase, flags: BESelectionFlags)selectionChangedWithGesture(point: { x: number; y: number }, gestureType: BEGestureType, gestureState: _UIKit_UIGestureRecognizer_State, flags: BESelectionFlags): Promise<void>Swift declarationfunc selectionChangedWithGesture(at point: CGPoint, gesture gestureType: BEGestureType, state gestureState: UIGestureRecognizer.State, flags: BESelectionFlags)share(text: string, presentationRect: { x: number; y: number; width: number; height: number }): Promise<void>Swift declarationfunc share(text: String, from presentationRect: CGRect)showDictionary(textWithContext: string, range: SDKHandle, presentationRect: { x: number; y: number; width: number; height: number }): Promise<void>Swift declarationfunc showDictionary(forTextInContext textWithContext: String, definingTextInRange range: NSRange, from presentationRect: CGRect)showReplacements(text: string): Promise<void>Swift declarationfunc showReplacements(forText text: String)translate(text: string, presentationRect: { x: number; y: number; width: number; height: number }): Promise<void>Swift declarationfunc translate(text: String, from presentationRect: CGRect)transliterateChinese(text: string): Promise<void>Swift declarationfunc transliterateChinese(forText text: String)get contextMenuInteraction(): Promise<_UIKit_UIContextMenuInteraction>Swift declarationvar contextMenuInteraction: UIContextMenuInteraction { get }get contextMenuInteractionDelegate(): Promise<(SDKHandle) | null>Swift declarationweak var contextMenuInteractionDelegate: (any UIContextMenuInteractionDelegate)? { get set }setContextMenuInteractionDelegate(value?: (SDKHandle) | null): Promise<void>Swift declarationweak var contextMenuInteractionDelegate: (any UIContextMenuInteractionDelegate)? { get set }get delegate(): Promise<(SDKHandle) | null>Swift declarationweak var delegate: (any BETextInteractionDelegate)? { get set }setDelegate(value?: (Implements<BETextInteractionDelegate> | SDKHandle) | null): Promise<void>Swift declarationweak var delegate: (any BETextInteractionDelegate)? { get set }get textSelectionDisplayInteraction(): Promise<_UIKit_UITextSelectionDisplayInteraction>Swift declarationvar textSelectionDisplayInteraction: UITextSelectionDisplayInteraction { get }No declarations were skipped in this snapshot.