Type Alias

ACAccountStoreRequestAccessCompletionHandler

Specifies a handler to call when access is granted or denied.

Declaration

typedef void (^ACAccountStoreRequestAccessCompletionHandler)(BOOL granted, NSError *error);

Discussion

The completion handler parameters are:

granted

A Boolean value indicating whether access is granted. YES if access is granted; otherwise NO.

error

An error, if one occurred.

See Also

Requesting Access

- requestAccessToAccountsWithType:withCompletionHandler:

Requests access to accounts of the specified type.

Deprecated
- requestAccessToAccountsWithType:options:completion:

Obtains permission to access protected user properties.