<!--
{
  "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/ZoomOptions/AlignmentRectContext",
  "metadataVersion" : "0.1.0",
  "role" : "Class",
  "symbol" : {
    "kind" : "Class",
    "modules" : [
      "UIKit"
    ],
    "preciseIdentifier" : "c:objc(cs)UIZoomTransitionAlignmentRectContext"
  },
  "title" : "UIViewController.Transition.ZoomOptions.AlignmentRectContext"
}
-->

# UIViewController.Transition.ZoomOptions.AlignmentRectContext

An object that contains a zoom transition’s starting and ending views.

```
class AlignmentRectContext
```

## Topics

### Accessing views

[`var sourceView: UIView`](/documentation/UIKit/UIViewController/Transition/ZoomOptions/AlignmentRectContext/sourceView)

The zoomed-out view, for example a thumbnail image.

[`var zoomedViewController: UIViewController`](/documentation/UIKit/UIViewController/Transition/ZoomOptions/AlignmentRectContext/zoomedViewController)

The zoomed in view.

## Relationships

### Inherits From

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

### Conforms To

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

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

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

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

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

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

---

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)