Deprecated ACAccountStore Methods

A method identified as deprecated has been superseded and may become unsupported in the future.

Deprecated in iOS 6.0

requestAccessToAccountsWithType:withCompletionHandler:

Requests access to accounts of the specified type. (Deprecated in iOS 6.0.)

- (void)requestAccessToAccountsWithType:(ACAccountType *)accountType withCompletionHandler:(ACAccountStoreRequestAccessCompletionHandler)handler
Parameters
accountType

The account type.

handler

The handler to call when access is granted or denied. The handler is called on an arbitrary queue.

Discussion

This method displays a dialog to the user confirming whether the application has access to the account. If access is granted, the application has access to protected properties of and operations on all accounts of the specified type.

Availability
  • Available in iOS 5.0 and later.
  • Deprecated in iOS 6.0.
Declared In
ACAccountStore.h