---
title: freeSize
framework: avfoundation
role: symbol
role_heading: Instance Property
path: avfoundation/avexternalstoragedevice/freesize
---

# freeSize

The amount of free storage space, in bytes, that’s available on the external storage device.

## Declaration

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

## Discussion

Discussion The value is -1 when the system can’t retrieve information from external storage device.

## See Also

### Inspecting a storage device

- [isConnected](avfoundation/avexternalstoragedevice/isconnected.md)
- [displayName](avfoundation/avexternalstoragedevice/displayname.md)
- [uuid](avfoundation/avexternalstoragedevice/uuid.md)
- [totalSize](avfoundation/avexternalstoragedevice/totalsize.md)
- [isNotRecommendedForCaptureUse](avfoundation/avexternalstoragedevice/isnotrecommendedforcaptureuse.md)
- [reasonsNotRecommendedForCaptureUse](avfoundation/avexternalstoragedevice/reasonsnotrecommendedforcaptureuse.md)
- [AVExternalStorageDevice.ReasonNotRecommendedForCaptureUse](avfoundation/avexternalstoragedevice/reasonnotrecommendedforcaptureuse.md)
