<!--
{
  "availability" : [
    "iOS: 18.0.0 -",
    "iPadOS: 18.0.0 -",
    "macCatalyst: 18.0.0 -",
    "macOS: 15.0.0 -",
    "tvOS: 18.0.0 -",
    "visionOS: 2.0.0 -",
    "watchOS: 11.0.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "AVFoundation",
  "identifier" : "/documentation/AVFoundation/AVPlayerVideoOutput/Configuration/preferredTransform",
  "metadataVersion" : "0.1.0",
  "role" : "Instance Property",
  "symbol" : {
    "kind" : "Instance Property",
    "modules" : [
      "AVFoundation"
    ],
    "preciseIdentifier" : "c:objc(cs)AVPlayerVideoOutputConfiguration(py)preferredTransform"
  },
  "title" : "preferredTransform"
}
-->

# preferredTransform

The preferred transform of the visual media.

```
var preferredTransform: CGAffineTransform { get }
```

## Discussion

The system retrieves the transform from the [`AVAssetTrack`](/documentation/AVFoundation/AVAssetTrack) that provides the media data. If the source track doesn’t specify a transform, the value of this property is <doc://com.apple.documentation/documentation/CoreGraphics/CGAffineTransformIdentity>.

---

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)