Type Property

UIKeyboardDidShow

Posted immediately after the display of the keyboard.

Declaration

static let UIKeyboardDidShow: NSNotification.Name

Discussion

The notification object is nil. The userInfo dictionary contains information about the keyboard. Use the keys described in Keyboard Notification User Info Keys to get the location and size of the keyboard from the userInfo dictionary.

For more information about using the system keyboard, see Text Programming Guide for iOS.

See Also

Notifications

static let UIWindowDidBecomeVisible: NSNotification.Name

Posted when an UIWindow object becomes visible.

static let UIWindowDidBecomeHidden: NSNotification.Name

Posted when an UIWindow object becomes hidden.

static let UIWindowDidBecomeKey: NSNotification.Name

Posted whenever a UIWindow object becomes the key window.

static let UIWindowDidResignKey: NSNotification.Name

Posted whenever a UIWindow object resigns its status as main window.

static let UIKeyboardWillShow: NSNotification.Name

Posted immediately prior to the display of the keyboard.

static let UIKeyboardWillHide: NSNotification.Name

Posted immediately prior to the dismissal of the keyboard.

static let UIKeyboardDidHide: NSNotification.Name

Posted immediately after the dismissal of the keyboard.

static let UIKeyboardWillChangeFrame: NSNotification.Name

Posted immediately prior to a change in the keyboard’s frame.

static let UIKeyboardDidChangeFrame: NSNotification.Name

Posted immediately after a change in the keyboard’s frame.