Contents

backingStoreIdentity

A unique identifier for the backing store used by the system.

Declaration

var backingStoreIdentity: Data? { get }

Discussion

Changes to this identifier indicate that the system has dropped its backing store and is creating a new one. The system may create a new backing store if the old store becomes corrupted. The file provider extension can also request a new backing store by calling reimportItems(below:completionHandler:).

While rebuilding the backing store, the system invalidates any extension instances associated with the domain. As a result, the system guarantees that the backingStoreIdentity remains stable throughout the lifetime of an NSFileProviderReplicatedExtension instance.

See Also

Accessing data