<!--
{
  "availability" : [
    "iOS: 18.0.0 -",
    "iPadOS: 18.0.0 -",
    "macCatalyst: 18.0.0 -",
    "tvOS: 18.0.0 -",
    "visionOS: 2.0.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "UIKit",
  "identifier" : "/documentation/UIKit/UIViewController/Transition",
  "metadataVersion" : "0.1.0",
  "role" : "Class",
  "symbol" : {
    "kind" : "Class",
    "modules" : [
      "UIKit"
    ],
    "preciseIdentifier" : "c:objc(cs)UIViewControllerTransition"
  },
  "title" : "UIViewController.Transition"
}
-->

# UIViewController.Transition

An object that defines the transition animation when switching to a new view controller.

```
class Transition
```

## Topics

### Creating zoom transitions

[`static func zoom(options: UIViewController.Transition.ZoomOptions?, sourceViewProvider: (UIViewController.Transition.ZoomSourceViewProviderContext) -> UIView?) -> Self`](/documentation/UIKit/UIViewController/Transition/zoom(options:sourceViewProvider:))

Creates a zoom transition from the view that the source provider specifies.

[`+ (instancetype) zoomWithOptions:(UIZoomTransitionOptions *) options sourceViewProvider:(UIView * (^)(UIZoomTransitionSourceViewProviderContext *)) sourceViewProvider;`](/documentation/UIKit/UIViewControllerTransition/zoomWithOptions:sourceViewProvider:)

Creates a zoom transition from the view specified by the source provider.

[`class ZoomOptions`](/documentation/UIKit/UIViewController/Transition/ZoomOptions)

Options for a zoom transition.

[`class ZoomSourceViewProviderContext`](/documentation/UIKit/UIViewController/Transition/ZoomSourceViewProviderContext)

A context object that contains references to the view controllers from a zoom transition.

### Accessing transitions

[`static var coverVertical: Self`](/documentation/UIKit/UIViewController/Transition/coverVertical)

A transition where the new view slides up from the bottom of the screen.

[`static var crossDissolve: Self`](/documentation/UIKit/UIViewController/Transition/crossDissolve)

A transition where the current view fades out while the new view fades in at the same time.

[`static var flipHorizontal: Self`](/documentation/UIKit/UIViewController/Transition/flipHorizontal)

A transition where the current view flips horizontally to reveal the new view.

[`static var partialCurl: Self`](/documentation/UIKit/UIViewController/Transition/partialCurl)

A transition where one corner of the current view curls up, revealing the new view underneath.

[`+ (instancetype) coverVerticalTransition;`](/documentation/UIKit/UIViewControllerTransition/coverVerticalTransition)

A transition where the new view slides up from the bottom of the screen.

[`+ (instancetype) crossDissolveTransition;`](/documentation/UIKit/UIViewControllerTransition/crossDissolveTransition)

A transition where the current view fades out while the new view fades in at the same time.

[`+ (instancetype) flipHorizontalTransition;`](/documentation/UIKit/UIViewControllerTransition/flipHorizontalTransition)

A transition where the current view flips horizontally to reveal the new view.

[`+ (instancetype) partialCurlTransition;`](/documentation/UIKit/UIViewControllerTransition/partialCurlTransition)

A transition where one corner of the current view curls up, revealing the new view underneath.

### Type Methods

[`static func zoom(options: UIViewController.Transition.ZoomOptions?, sourceBarButtonItemProvider: (UIViewController.Transition.ZoomSourceViewProviderContext) -> UIBarButtonItem?) -> Self`](/documentation/UIKit/UIViewController/Transition/zoom(options:sourceBarButtonItemProvider:))

## Relationships

### Conforms To

[`CustomDebugStringConvertible`](/documentation/Swift/CustomDebugStringConvertible)

[`CustomStringConvertible`](/documentation/Swift/CustomStringConvertible)

[`Hashable`](/documentation/Swift/Hashable)

[`Equatable`](/documentation/Swift/Equatable)

[`NSObjectProtocol`](/documentation/ObjectiveC/NSObjectProtocol)

[`CVarArg`](/documentation/Swift/CVarArg)

### Inherits From

[`NSObject-swift.class`](/documentation/ObjectiveC/NSObject-swift.class)

---

Copyright &copy; 2026 Apple Inc. All rights reserved. | [Terms of Use](https://www.apple.com/legal/internet-services/terms/site.html) | [Privacy Policy](https://www.apple.com/privacy/privacy-policy)