Contents

preferredTransition

An object that defines the transition animation when switching to the view controller.

Declaration

var preferredTransition: UIViewController.Transition? { get set }

Mentioned in

Discussion

Use this property to define which transition the system uses when you present a view controller. For more information, see Enhancing your app with fluid transitions.

See Also

Working with transitions