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 the UIViewController from the previous step

    Declaration

    Swift

    case topmostParent
  • Present from the custom UIViewController

    Declaration

    Swift

    case custom(@autoclosure () throws -> UIViewController?)