PresentationType
public enum PresentationType
Describes the type of presentation for a view controller.
-
A modal presentation type with the specified navigation, presentation, and transition styles.
Declaration
Swift
case modal(NavigationStyle, UIModalPresentationStyle, UIModalTransitionStyle)
-
A popover presentation type with the specified configuration.
Declaration
Swift
case popover(PopoverConfig)
-
A push presentation type.
Declaration
Swift
case push
-
A
show
presentation type. This is an adaptive presentation that usually corresponds to.Push
.Declaration
Swift
case show
-
A
show detail
presentation type. This is an adaptive presentation that usually corresponds to.Modal
.Declaration
Swift
case showDetail(NavigationStyle)
-
A custom presentation style that uses the specified delegate.
Declaration
Swift
case custom(UIViewControllerTransitioningDelegate)
-
No presentation type specified, use UIKit defaults. Use this when presenting system controllers, like
UIAlertController
.Declaration
Swift
case none