Requests access to accounts of the specified type.
- iOS 5.0–6.0Deprecated
- Mac Catalyst 13.0–13.0Deprecated
The account type.
The handler to call when access is granted or denied. The handler is called on an arbitrary queue.
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.