removeAllDomains(completionHandler:)
Removes all domains from the File Provider extension.
Declaration
class func removeAllDomains(completionHandler: @escaping @Sendable ((any Error)?) -> Void)class func removeAllDomains() async throwsParameters
- completionHandler:
A block that the system calls after removing the domains. It takes the following parameters:
errorIf an error occurs, this object contains information about the error; otherwise, it’s
nil.
Discussion
See Also
Working with domains
init(for:)import(_:fromDirectoryAt:completionHandler:)add(_:completionHandler:)getDomainsWithCompletionHandler(_:)remove(_:completionHandler:)remove(_:mode:completionHandler:)NSFileProviderManager.DomainRemovalModedisconnect(reason:options:completionHandler:)NSFileProviderManager.DisconnectionOptionsreconnect(completionHandler:)waitForStabilization(completionHandler:)temporaryDirectoryURL()