One Logo Pool Ball
UIKit · IOS API REFERENCE

UITextCursorDropPositionAnimator

class · iOS 17.4+ · SDK 27.1

@MainActor class UITextCursorDropPositionAnimator

Members (6)

method · iOS 17.4+

animate

TypeScript
animate(animation?: ((() => void)) | null, completion?: ((() => void)) | null): Promise<void>
Swift declaration
func animate(alongsideChanges animation: (() -> Void)?) async
init · iOS 17.4+

init

TypeScript
static init(cursorView?: ((UIView) & (SDKHandle)) | null, textInput?: ((UIView) & (SDKHandle)) | null): Promise<UITextCursorDropPositionAnimator>
Swift declaration
init!(textCursorView cursorView: (any UIView & UITextCursorView)!, textInput: (any UIView & UITextInput)!)
method · iOS 17.4+

placeCursor

TypeScript
placeCursor(position: (UITextPosition) | null, animated: boolean): Promise<void>
Swift declaration
func placeCursor(at position: UITextPosition!, animated: Bool)
method · iOS 17.4+

setCursorVisible

TypeScript
setCursorVisible(visible: boolean, animated: boolean): Promise<void>
Swift declaration
func setCursorVisible(_ visible: Bool, animated: Bool)
get · iOS 17.4+

cursorView

TypeScript
get cursorView(): Promise<((UIView) & (SDKHandle)) | null>
Swift declaration
var cursorView: (any UIView & UITextCursorView)! { get }
get · iOS 17.4+

textInput

TypeScript
get textInput(): Promise<((UIView) & (SDKHandle)) | null>
Swift declaration
var textInput: (any UIView & UITextInput)! { get }

Skipped declarations

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

UITextCursorDropPositionAnimator.init()

inherited init: cannot prove legal (class declares 1 custom initializer)

All UIKit types →