TextInputModeMonitor
public class TextInputModeMonitor : BaseNotificationMonitor
A TextInputModeMonitor instance monitors the responder chain for changes
to the current input mode.
-
Encapsulates changes to the current input mode.
See moreDeclaration
Swift
public enum Event -
Initializes a new
TextInputModeMonitor.Declaration
Swift
public init(queue: OperationQueue = .main, handler: @escaping (Event) -> Void)Parameters
queueThe operation queue on which the handler executes. By default, the main operation queue is used.
handlerThe handler to call when the current input mode changes.
-
Declaration
Swift
override public func addNotificationObservers()
View on GitHub
Install in Dash
TextInputModeMonitor Class Reference