Keyboard Notification User Info Keys

Keys used to get values from the user information dictionary of keyboard notifications.

Topics

Constants

class let keyboardAnimationCurveUserInfoKey: String

The key for an NSNumber object containing a UIView.AnimationCurve constant that defines how the keyboard will be animated onto or off the screen.

class let keyboardAnimationDurationUserInfoKey: String

The key for an NSNumber object containing a double that identifies the duration of the animation in seconds.

class let keyboardIsLocalUserInfoKey: 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.

class let keyboardFrameBeginUserInfoKey: String

The key for an NSValue object containing a CGRect that identifies the starting frame rectangle of the keyboard in screen coordinates. The frame rectangle reflects the current orientation of the device.

class let keyboardFrameEndUserInfoKey: String

The key for an NSValue object containing a CGRect that identifies the ending frame rectangle of the keyboard in screen coordinates. The frame rectangle reflects the current orientation of the device.