Contents

providerIdentifier

A purpose identifier for coordinated reads and writes.

Declaration

var providerIdentifier: String { get }

Discussion

This property contains a unique string that can be used as a purpose identifier for file coordination. The File Provider extension should use this identifier when performing coordinated reads and writes, to help prevent deadlocks.

Pass this identifier to the file coordinator’s setPurposeIdentifier: method before performing a coordinated read or write.

This method returns the containing app’s bundle identifier.

See Also

Accessing File Provider data