KeyboardChangeContext

public struct KeyboardChangeContext

The context of an upcoming change in the frame of the system keyboard.

  • The current frame of the system keyboard.

    Declaration

    Swift

    public var beginFrame: CGRect
  • The final frame of the system keyboard.

    Declaration

    Swift

    public var endFrame: CGRect
  • The animation curve which the system keyboard will use to animate the change in its frame.

    Declaration

    Swift

    public var animationCurve: UIViewAnimationCurve
  • The duration in which the system keyboard expects to animate the change in its frame.

    Declaration

    Swift

    public var animationDuration: Double
  • Indicates whether the change is triggered locally. Used in iPad multitasking, where all foreground apps would be notified of any changes in the system keyboard’s frame.

    Declaration

    Swift

    public var isLocal: Bool