ViewControllerModalPresentationStyle enum

A view presentation style in which the presented view covers the screen.

See also:

Inheritance
  • Object
  • Enum
  • ViewControllerModalPresentationStyle

Constructors

ViewControllerModalPresentationStyle(int rawValue)
const

Values

automatic → const ViewControllerModalPresentationStyle

The default presentation style chosen by the system.

  • Availability: iOS13.0+
const ViewControllerModalPresentationStyle(-2)
none → const ViewControllerModalPresentationStyle

A presentation style that indicates no adaptations should be made.

const ViewControllerModalPresentationStyle(-1)
fullScreen → const ViewControllerModalPresentationStyle

A presentation style in which the presented view covers the screen.

const ViewControllerModalPresentationStyle(0)
pageSheet → const ViewControllerModalPresentationStyle

A presentation style that partially covers the underlying content.

const ViewControllerModalPresentationStyle(1)
formSheet → const ViewControllerModalPresentationStyle

A presentation style that displays the content centered in the screen.

const ViewControllerModalPresentationStyle(2)
overFullScreen → const ViewControllerModalPresentationStyle

A view presentation style in which the presented view covers the screen.

const ViewControllerModalPresentationStyle(5)

Properties

hashCode int
The hash code for this object.
no setterinherited
index int
A numeric identifier for the enumerated value.
no setterinherited
rawValue int
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited

Constants

values → const List<ViewControllerModalPresentationStyle>
A constant List of the values in this enum, in order of their declaration.