Contents

documentStorageURL

The root URL for all shared documents.

Declaration

var documentStorageURL: URL { get }

Discussion

This property contains the URL <container URL>/File Provider Storage, where container URL is the value returned by the containerURL(forSecurityApplicationGroupIdentifier:) method.

The container URL refers to an app group container directory used by the NSFileProviderExtension extension. You can specify this shared container using the NSExtensionFileProviderDocumentGroup key in the File Provider extension’s info.plist file.

See Also

Accessing File Provider data