---
title: remainingCapacity
framework: AVFoundation
role: symbol
role_heading: Instance Property
platforms: [iOS 27.0+, iPadOS 27.0+, Mac Catalyst 27.0+, macOS 27.0+, tvOS 27.0+]
path: avfoundation/avprovideostorage/remainingcapacity
---

# remainingCapacity

Current size of Pro Video Storage in bytes.

## Declaration

```swift
var remainingCapacity: Int { get }
```

## Return Value

Return Value 0 if Pro Video Storage is not configured or -1 if there was a failure while extracting information from it.

## Discussion

Discussion The remaining capacity decreases as recordings are captured.

## See Also

### Inspecting capacity

- [initialCapacity](avfoundation/avprovideostorage/initialcapacity.md)
- [replenishCapacity(completionHandler:)](avfoundation/avprovideostorage/replenishcapacity(completionhandler:).md)
