The unique identifier of the resource’s volume, returned as an
- iOS 5.0+
- macOS 10.7+
- Mac Catalyst 13.0+Beta
- tvOS 9.0+
- watchOS 2.0+
This identifier can be used with the
isEqual(_:) method to determine whether two file system resources are on the same volume.
The value of this identifier is not persistent across system restarts.
Volume Support Keys
static let isMountTriggerKey: URLResourceKey
Key for determining whether the URL is a file system trigger directory, returned as a Boolean
NSNumber object (read-only). Traversing or opening a file system trigger directory causes an attempt to mount a file system on the directory.
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