endFrame
TypeScriptget endFrame(): Promise<{ x: number; y: number; width: number; height: number }>Swift declarationvar endFrame: CGRectstruct · iOS 26.0+ · SDK 27.1
struct KeyboardDidChangeFrameMessageget endFrame(): Promise<{ x: number; y: number; width: number; height: number }>Swift declarationvar endFrame: CGRectsetEndFrame(value: { x: number; y: number; width: number; height: number }): Promise<void>Swift declarationvar endFrame: CGRectstatic makeMessage(notification: _Foundation_Notification): Promise<(UIResponder_KeyboardDidChangeFrameMessage) | null>Swift declaration@MainActor static func makeMessage(_ notification: Notification) -> UIResponder.KeyboardDidChangeFrameMessage?Converts a posted notification into this main actor message type for any observers. To implement this method in your own `MainActorMessage` conformance, retrieve values from the ``Notification``'s ``Notification/userInfo`` and set them as properties on the message. - Parameter notification: The posted ``Notification``. - Returns: The converted `MainActorMessage` or `nil` if conversion is not possible.
static init(beginFrame: { x: number; y: number; width: number; height: number }, endFrame: { x: number; y: number; width: number; height: number }, animationDuration: number, animationCurve: UIView_AnimationCurve, isLocal: boolean, screen: UIScreen): Promise<UIResponder_KeyboardDidChangeFrameMessage>Swift declarationinit(beginFrame: CGRect, endFrame: CGRect, animationDuration: TimeInterval, animationCurve: UIView.AnimationCurve, isLocal: Bool, screen: UIScreen)get beginFrame(): Promise<{ x: number; y: number; width: number; height: number }>Swift declarationvar beginFrame: CGRectsetBeginFrame(value: { x: number; y: number; width: number; height: number }): Promise<void>Swift declarationvar beginFrame: CGRectget animationCurve(): Promise<UIView_AnimationCurve>Swift declarationvar animationCurve: UIView.AnimationCurvesetAnimationCurve(value: UIView_AnimationCurve): Promise<void>Swift declarationvar animationCurve: UIView.AnimationCurvestatic makeNotification(message: UIResponder_KeyboardDidChangeFrameMessage): Promise<_Foundation_Notification>Swift declaration@MainActor static func makeNotification(_ message: UIResponder.KeyboardDidChangeFrameMessage) -> NotificationConverts a posted main actor message into a notification for any observers. To implement this method in your own `MainActorMessage` conformance, use the properties defined by the message to populate the ``Notification``'s ``Notification/userInfo``. - Parameters: - message: The posted `MainActorMessage`. - Returns: The converted ``Notification``.
get animationDuration(): Promise<number>Swift declarationvar animationDuration: TimeIntervalsetAnimationDuration(value: number): Promise<void>Swift declarationvar animationDuration: TimeIntervalstatic get nameValue(): Promise<_Foundation_NSNotification_Name>Swift declarationstatic var name: Notification.Name { get }A optional name corresponding to this type, used to interoperate with notification posters and observers.
get screen(): Promise<UIScreen>Swift declarationvar screen: UIScreensetScreen(value: UIScreen): Promise<void>Swift declarationvar screen: UIScreenget isLocal(): Promise<boolean>Swift declarationvar isLocal: BoolsetIsLocal(value: boolean): Promise<void>Swift declarationvar isLocal: BoolNo declarations were skipped in this snapshot.