Contents

providerIdentifier

An identifier shared by this Document Picker extension and its corresponding File Provider extension. (read-only)

Declaration

var providerIdentifier: String { get }

Discussion

Both the Document Picker View Controller extension and the File Provider extension should pass this identifier to their file coordinator’s setPurposeIdentifier: method. This approach helps coordinate the read and write operations between the two extensions, preventing possible deadlocks.

This property holds the value returned by calling the File Provider extension’s providerIdentifier method.

See Also

Managing the user interface