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 more

    Declaration

    Swift

    public enum Event
  • Initializes a new TextInputModeMonitor.

    Declaration

    Swift

    public init(queue: OperationQueue = .main,
                handler: @escaping (Event) -> Void)

    Parameters

    queue

    The operation queue on which the handler executes. By default, the main operation queue is used.

    handler

    The handler to call when the current input mode changes.

  • Declaration

    Swift

    override public func addNotificationObservers()