ModalPresentationStartingPoint
public enum ModalPresentationStartingPoint
A starting point in the modal presentation
-
Present from the
UIViewController
from the previous step (Default behaviour)Declaration
Swift
case current
-
Present from the topmost parent
UIViewController
of theUIViewController
from the previous stepDeclaration
Swift
case topmostParent
-
Present from the custom
UIViewController
Declaration
Swift
case custom(@autoclosure () throws -> UIViewController?)