Edit

Share via


ACAccountStore.RemoveAccount Method

Definition

Removes the specified account from the account store, and runs a completion handler after the operation is complete.

[Foundation.Export("removeAccount:withCompletionHandler:")]
[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.iOS, 6, 0, ObjCRuntime.PlatformArchitecture.All, null)]
public virtual void RemoveAccount (Accounts.ACAccount account, Accounts.ACAccountStoreRemoveCompletionHandler completionHandler);
abstract member RemoveAccount : Accounts.ACAccount * Accounts.ACAccountStoreRemoveCompletionHandler -> unit
override this.RemoveAccount : Accounts.ACAccount * Accounts.ACAccountStoreRemoveCompletionHandler -> unit

Parameters

account
ACAccount

The account to remove.

completionHandler
ACAccountStoreRemoveCompletionHandler

The handler to run after the account has been removed.

Attributes

Applies to