Instance Method

stopProvidingItemAtURL:

Tells the File Provider extension that a given document is no longer being accessed.

Declaration

- (void)stopProvidingItemAtURL:(NSURL *)url;

Parameters

url

The URL of a shared document.

Discussion

The system calls this method as soon as all other processes have stopped accessing the given file. You can override this method to remove the document from the local file system, thus freeing up storage space. You must provide placeholders for any documents you remove.

You must override this method, even if you only provide an empty implementation. Do not call super in your implementations.

See Also

Managing Shared Files

- itemChangedAtURL:

Tells the File Provider extension that a document has changed.

Deprecated
- providePlaceholderAtURL:completionHandler:

Triggers the creation of a placeholder for the given URL.

Deprecated
- startProvidingItemAtURL:completionHandler:

Provides an actual file on disk for a placeholder.

Deprecated