Contents

removeAllDomains(completionHandler:)

Removes all domains from the File Provider extension.

Declaration

class func removeAllDomains(completionHandler: @escaping  @Sendable ((any Error)?) -> Void)
class func removeAllDomains() async throws

Parameters

  • completionHandler:

    A block that the system calls after removing the domains. It takes the following parameters:

    error

    If an error occurs, this object contains information about the error; otherwise, it’s nil.

Discussion

See Also

Working with domains