One Logo Pool Ball
UIKit · IOS API REFERENCE

UIResponder.KeyboardDidChangeFrameMessage

struct · iOS 26.0+ · SDK 27.1

struct KeyboardDidChangeFrameMessage

Members (16)

get · iOS 26.0+

endFrame

TypeScript
get endFrame(): Promise<{ x: number; y: number; width: number; height: number }>
Swift declaration
var endFrame: CGRect
set · iOS 26.0+

endFrame

TypeScript
setEndFrame(value: { x: number; y: number; width: number; height: number }): Promise<void>
Swift declaration
var endFrame: CGRect
static · iOS 26.0+

makeMessage

TypeScript
static 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.

init · iOS 26.0+

init

TypeScript
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 declaration
init(beginFrame: CGRect, endFrame: CGRect, animationDuration: TimeInterval, animationCurve: UIView.AnimationCurve, isLocal: Bool, screen: UIScreen)
get · iOS 26.0+

beginFrame

TypeScript
get beginFrame(): Promise<{ x: number; y: number; width: number; height: number }>
Swift declaration
var beginFrame: CGRect
set · iOS 26.0+

beginFrame

TypeScript
setBeginFrame(value: { x: number; y: number; width: number; height: number }): Promise<void>
Swift declaration
var beginFrame: CGRect
get · iOS 26.0+

animationCurve

TypeScript
get animationCurve(): Promise<UIView_AnimationCurve>
Swift declaration
var animationCurve: UIView.AnimationCurve
set · iOS 26.0+

animationCurve

TypeScript
setAnimationCurve(value: UIView_AnimationCurve): Promise<void>
Swift declaration
var animationCurve: UIView.AnimationCurve
static · iOS 26.0+

makeNotification

TypeScript
static makeNotification(message: UIResponder_KeyboardDidChangeFrameMessage): Promise<_Foundation_Notification>
Swift declaration
@MainActor static func makeNotification(_ message: UIResponder.KeyboardDidChangeFrameMessage) -> Notification

Converts 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 · iOS 26.0+

animationDuration

TypeScript
get animationDuration(): Promise<number>
Swift declaration
var animationDuration: TimeInterval
set · iOS 26.0+

animationDuration

TypeScript
setAnimationDuration(value: number): Promise<void>
Swift declaration
var animationDuration: TimeInterval
get · iOS 26.0+

name

TypeScript
static get nameValue(): Promise<_Foundation_NSNotification_Name>
Swift declaration
static var name: Notification.Name { get }

A optional name corresponding to this type, used to interoperate with notification posters and observers.

get · iOS 26.0+

screen

TypeScript
get screen(): Promise<UIScreen>
Swift declaration
var screen: UIScreen
set · iOS 26.0+

screen

TypeScript
setScreen(value: UIScreen): Promise<void>
Swift declaration
var screen: UIScreen
get · iOS 26.0+

isLocal

TypeScript
get isLocal(): Promise<boolean>
Swift declaration
var isLocal: Bool
set · iOS 26.0+

isLocal

TypeScript
setIsLocal(value: boolean): Promise<void>
Swift declaration
var isLocal: Bool

Skipped declarations

No declarations were skipped in this snapshot.

All UIKit types →