Type Property

volumeAvailableCapacityKey

Key for the volume’s available capacity in bytes (read-only).

Declaration

static let volumeAvailableCapacityKey: URLResourceKey

See Also

Volume Capacity Keys

Checking Volume Storage Capacity

Confirm that you have enough local storage space for a large amount of data.

static let volumeAvailableCapacityForImportantUsageKey: URLResourceKey

Key for the volume’s available capacity in bytes for storing important resources (read-only).

static let volumeAvailableCapacityForOpportunisticUsageKey: URLResourceKey

Key for the volume’s available capacity in bytes for storing nonessential resources (read-only).

static let volumeTotalCapacityKey: URLResourceKey

Key for the volume’s total capacity in bytes (read-only).

Beta Software

This documentation contains preliminary information about an API or technology in development. This information is subject to change, and software implemented according to this documentation should be tested with final operating system software.

Learn more about using Apple's beta software