---
title: usesProVideoStorage
framework: avfoundation
role: symbol
role_heading: Instance Property
path: avfoundation/avassetwriter/usesprovideostorage
---

# usesProVideoStorage

Indicates whether to use pre-allocated storage.

## Declaration

```swift
var usesProVideoStorage: Bool { get set }
```

## Discussion

Discussion The default value is NO. See more detailed description of ProVideoStorage in AVProVideoStorage.h. An exception will be thrown if clients try to set YES if the value of the proVideoStorageSupported property is NO. An exception will be thrown if clients try to set this property after -startWriting has been called on the receiver.
