UIModalPresentationStyle enum
Modal presentation styles available when presenting view controllers.
For more info see https://developer.apple.com/documentation/uikit/uimodalpresentationstyle
Values
- automatic → const UIModalPresentationStyle
-
The default presentation style chosen by the system.
- none → const UIModalPresentationStyle
-
A presentation style that indicates no adaptations should be made. Not working
- fullScreen → const UIModalPresentationStyle
-
A presentation style in which the presented view covers the screen.
- pageSheet → const UIModalPresentationStyle
-
A presentation style that partially covers the underlying content.
- formSheet → const UIModalPresentationStyle
-
A presentation style that displays the content centered in the screen.
- currentContext → const UIModalPresentationStyle
-
A presentation style where the content is displayed over another view controller’s content.
- overFullScreen → const UIModalPresentationStyle
-
A view presentation style in which the presented view covers the screen.
- overCurrentContext → const UIModalPresentationStyle
-
A presentation style where the content is displayed over another view controller’s content.
- popover → const UIModalPresentationStyle
-
A presentation style where the content is displayed in a popover view.
- blurOverFullScreen → const UIModalPresentationStyle
-
A presentation style that blurs the underlying content before displaying new content in a full-screen presentation.
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- index → int
-
A numeric identifier for the enumerated value.
no setterinherited
- name → String
-
Available on Enum, provided by the EnumName extension
The name of the enum value.no setter - 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<
UIModalPresentationStyle> - A constant List of the values in this enum, in order of their declaration.