iOS SDK

API Reference

On This Page

MGLTransition

struct MGLTransition {}

A structure containing information about a transition.

duration

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

Declaration

Objective-C

NSTimeInterval duration

Swift

var duration: TimeInterval

delay

The amount of time in seconds to wait before beginning the animation.

Declaration

Objective-C

NSTimeInterval delay

Swift

var delay: TimeInterval