Sdílet prostřednictvím


UIModalTransitionStyle Enum

Definition

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

[ObjCRuntime.Native]
public enum UIModalTransitionStyle
[<ObjCRuntime.Native>]
type UIModalTransitionStyle = 
Inheritance
UIModalTransitionStyle
Attributes

Fields

Name Value Description
CoverVertical 0

Slides up from the bottom of the screen.

FlipHorizontal 1

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

CrossDissolve 2

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

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