Type Property

keyboardWillChangeFrameNotification

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

Declaration

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

See Also

Notifications

class let didBecomeVisibleNotification: NSNotification.Name

Posted when an UIWindow object becomes visible.

class let didBecomeHiddenNotification: NSNotification.Name

Posted when an UIWindow object becomes hidden.

class let didBecomeKeyNotification: NSNotification.Name

Posted whenever a UIWindow object becomes the key window.

class let didResignKeyNotification: NSNotification.Name

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

class let keyboardWillShowNotification: NSNotification.Name

Posted immediately prior to the display of the keyboard.

class let keyboardDidShowNotification: NSNotification.Name

Posted immediately after the display of the keyboard.

class let keyboardWillHideNotification: NSNotification.Name

Posted immediately prior to the dismissal of the keyboard.

class let keyboardDidHideNotification: NSNotification.Name

Posted immediately after the dismissal of the keyboard.

class let keyboardDidChangeFrameNotification: NSNotification.Name

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