Instance Method

account(withIdentifier:)

Returns the account with the specified identifier.

Declaration

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

Parameters

identifier

A unique identifier for an account.

Return Value

The account that matches the value specified in identifier.

See Also

Getting Accounts

var accounts: NSArray!

The accounts managed by this account store.

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

Returns all accounts of the specified type.

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