Instance Method

removeAccount(_:withCompletionHandler:)

Removes an account from the account store.

Declaration

func removeAccount(_ account: ACAccount!, withCompletionHandler completionHandler: ACAccountStoreRemoveCompletionHandler!)

Parameters

account

The account to remove.

completionHandler

The handler to call when the removal has completed.

Discussion

This call will fail if you don't have sufficient rights to remove the account.

See Also

Removing Accounts

typealias ACAccountStoreRemoveCompletionHandler

Specifies a handler to call when an account is removed from the store.

Beta Software

This documentation contains preliminary information about an API or technology in development. This information is subject to change, and software implemented according to this documentation should be tested with final operating system software.

Learn more about using Apple's beta software