Instance Method

removeAccount:withCompletionHandler:

Removes an account from the account store.

Declaration

- (void)removeAccount:(ACAccount *)account withCompletionHandler:(ACAccountStoreRemoveCompletionHandler)completionHandler;

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

ACAccountStoreRemoveCompletionHandler

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