SDKs
- iOS 3.2+
- Mac Catalyst 13.0+
Framework
- UIKit
Declaration
class let keyboardFrameEndUserInfoKey: String
SDKs
Framework
class let keyboardFrameEndUserInfoKey: String
class let keyboard Will Show Notification: NSNotification .Name
Posted immediately prior to the display of the keyboard.
class let keyboard Did Show Notification: NSNotification .Name
Posted immediately after the display of the keyboard.
class let keyboard Will Hide Notification: NSNotification .Name
Posted immediately prior to the dismissal of the keyboard.
class let keyboard Did Hide Notification: NSNotification .Name
Posted immediately after the dismissal of the keyboard.
class let keyboard Will Change Frame Notification: NSNotification .Name
Posted immediately prior to a change in the keyboard’s frame.
class let keyboard Did Change Frame Notification: NSNotification .Name
Posted immediately after a change in the keyboard’s frame.
class let keyboard Animation Curve User Info Key: String
The key for an NSNumber
object containing a UIView
constant that defines how the keyboard will be animated onto or off the screen.
class let keyboard Animation Duration User Info Key: String
The key for an NSNumber
object containing a double
that identifies the duration of the animation in seconds.
class let keyboard Is Local User Info Key: String
The key for an NSNumber
object containing a Boolean that identifies whether the keyboard belongs to the current app. With multitasking on iPad, all visible apps are notified when the keyboard appears and disappears. The value of this key is true
for the app that caused the keyboard to appear and false
for any other apps.