---
title: preferredTransform
framework: avfoundation
role: symbol
role_heading: Instance Property
path: avfoundation/avplayervideooutput/configuration/preferredtransform
---

# preferredTransform

The preferred transform of the visual media.

## Declaration

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

## Discussion

Discussion The system retrieves the transform from the AVAssetTrack that provides the media data. If the source track doesn’t specify a transform, the value of this property is CGAffineTransformIdentity.

## See Also

### Inspecting the configuration

- [sourcePlayerItem](avfoundation/avplayervideooutput/configuration/sourceplayeritem.md)
- [dataChannelDescription](avfoundation/avplayervideooutput/configuration/datachanneldescription.md)
- [activationTime](avfoundation/avplayervideooutput/configuration/activationtime.md)
