MGLTransition

struct MGLTransition {}

A structure containing information about a transition.

  • The amount of time the animation should take, not including the delay.

    Declaration

    Objective-C

    NSTimeInterval duration

    Swift

    var duration: TimeInterval
  • The amount of time in seconds to wait before beginning the animation.

    Declaration

    Objective-C

    NSTimeInterval delay

    Swift

    var delay: TimeInterval