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