Enumeration Case

UIModalPresentationStyle.custom

A custom view presentation style that is managed by a custom presentation controller and one or more custom animator objects.

Declaration

case custom = 4

Discussion

All of these objects are provided by the presented view controller’s transitioning delegate, which is an object that conforms to the UIViewControllerTransitioningDelegate protocol. Before presenting a view controller using this style, set the view controller’s transitioningDelegate property to your custom transitioning delegate.