---
title: presentationSize
framework: avkit
role: symbol
role_heading: Instance Property
path: avkit/avinterfacemetadata-swift.struct/presentationsize
---

# presentationSize

The natural pixel dimensions of the video content for display purposes.

## Declaration

```swift
var presentationSize: CGSize
```

## Discussion

Discussion This represents the encoded size of the video stream and can be used to determine aspect ratio and optimal presentation layout. For audio-only content, this value is .zero.

## See Also

### Inspecting the metadata

- [title](avkit/avinterfacemetadata-swift.struct/title.md)
- [subtitle](avkit/avinterfacemetadata-swift.struct/subtitle.md)
- [isAudioOnly](avkit/avinterfacemetadata-swift.struct/isaudioonly.md)
- [albumArtworkRepresentations](avkit/avinterfacemetadata-swift.struct/albumartworkrepresentations.md)
