Type Alias

ACAccountStoreRequestAccessCompletionHandler

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

Declaration

typealias ACAccountStoreRequestAccessCompletionHandler = (Bool, Error?) -> Void

Discussion

The completion handler parameters are:

granted

A Boolean value indicating whether access is granted. true if access is granted; otherwise false.

error

An error, if one occurred.

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