ModalPresentationStyle

@available(iOS 14.0, macOS 11, tvOS 14.0, watchOS 7.0, *)
public enum ModalPresentationStyle

Modal presentation styles available when presenting sheets

  • Presents a sheet

    Declaration

    Swift

    case sheet
  • Presents a modal view that covers as much of the screen as possible

    Declaration

    Swift

    case fullScreenCover