Instance Method

accounts(with:)

Returns all accounts of the specified type.

Declaration

func accounts(with accountType: ACAccountType!) -> [Any]!

Parameters

accountType

The type of an account.

Return Value

All accounts that match accountType.

See Also

Getting Accounts

var accounts: NSArray!

The accounts managed by this account store.

func account(withIdentifier: String!) -> ACAccount!

Returns the account with the specified identifier.

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