Info

public struct Info

Encapsulates information associated with a keyboard monitor event.

  • Defines how the keyboard will be animated onto or off the screen.

    Declaration

    Swift

    public let animationCurve: UIViewAnimationCurve
  • The duration of the animation onto or off the screen in seconds.

    Declaration

    Swift

    public let animationDuration: TimeInterval
  • The start frame of the keyboard in screen coordinates. These coordinates do not take into account any rotation factors applied to the window’s contents as a result of interface orientation changes. Thus, you may need to convert the rectangle to window coordinates or to view coordinates before using it.

    Declaration

    Swift

    public let frameBegin: CGRect
  • The end frame of the keyboard in screen coordinates. These coordinates do not take into account any rotation factors applied to the window’s contents as a result of interface orientation changes. Thus, you may need to convert the rectangle to window coordinates or to view coordinates (before using it.

    Declaration

    Swift

    public let frameEnd: CGRect
  • Whether the keyboard belongs to the current app. With multitasking on iPad, all visible apps are notified when the keyboard appears and disappears. true for the app that caused the keyboard to appear and false for any other apps.

    Declaration

    Swift

    public let isLocal: Bool