Contents

transitioningDelegate

The delegate object that provides transition animator, interactive controller, and custom presentation controller objects.

Declaration

weak var transitioningDelegate: (any UIViewControllerTransitioningDelegate)? { get set }

Discussion

When the view controller’s modalPresentationStyle property is UIModalPresentationStyle.custom, UIKit uses the object in this property to facilitate transitions and presentations for the view controller. The transitioning delegate object is a custom object that you provide and that conforms to the UIViewControllerTransitioningDelegate protocol. Its job is to vend the animator objects used to animate this view controller’s view onscreen and an optional presentation controller to provide any additional chrome and animations.

See Also

Adding a custom transition or presentation