---
title: naturalSize
framework: avfoundation
role: symbol
role_heading: Instance Property
path: avfoundation/avassetwriterinput/naturalsize
---

# naturalSize

The natural display dimensions of the output’s visual media.

## Declaration

```swift
var naturalSize: CGSize { get set }
```

## Discussion

Discussion The default value is CGSizeZero, which indicates the system sets the natural size according to the dimensions of the output track’s format descriptions. You can’t set this value after writing starts.

## See Also

### Configuring presentation

- [transform](avfoundation/avassetwriterinput/transform.md)
- [preferredVolume](avfoundation/avassetwriterinput/preferredvolume.md)
- [mediaTimeScale](avfoundation/avassetwriterinput/mediatimescale.md)
- [marksOutputTrackAsEnabled](avfoundation/avassetwriterinput/marksoutputtrackasenabled.md)
