UIModalTransitionStyle Enum

Definition

An enumeration of values used to specify the transition style of presented UIViewControllers.

[ObjCRuntime.Unavailable(ObjCRuntime.PlatformName.WatchOS, ObjCRuntime.PlatformArchitecture.All, null)]
public enum UIModalTransitionStyle
type UIModalTransitionStyle = 
Inheritance
UIModalTransitionStyle
Attributes

Fields

CoverVertical 0

Slides up from the bottom of the screen.

CrossDissolve 2

The old view fades out while the new view simultaneously fades in.

FlipHorizontal 1

A horizontal right-to-left flip. On dismissal, the transition flips left-to-right.

PartialCurl 3

A corner of the presented UIViewController is "curled up" like a book page. On transition, the curl peels up the screen. Application developers must only use this style when the UIViewController is being presented with FullScreen.

Applies to