KeyboardMonitor
public class KeyboardMonitor : BaseNotificationMonitor
A KeyboardMonitor instance monitors the keyboard for changes to its
visibility or to its frame.
-
Encapsulates changes to the visibility of the keyboard and to the frame of the keyboard.
See moreDeclaration
Swift
public enum Event -
Encapsulates information associated with a keyboard monitor event.
See moreDeclaration
Swift
public struct Info -
Specifies which events to monitor.
See moreDeclaration
Swift
public struct Options : OptionSet -
Initializes a new
KeyboardMonitor.Declaration
Parameters
optionsThe options that specify which events to monitor. By default, all events are monitored.
queueThe operation queue on which the handler executes. By default, the main operation queue is used.
handlerThe handler to call when the visibility of the keyboard or the frame of the keyboard changes or is about to change.
-
Declaration
Swift
override public func addNotificationObservers()
View on GitHub
Install in Dash
KeyboardMonitor Class Reference