Protocol

ASAuthorizationControllerDelegate

An interface for providing information about the outcome of an authorization request.

Declaration

protocol ASAuthorizationControllerDelegate

Topics

Handling Successful Authorization

class ASAuthorization

The encapsulation of a successful authorization performed by a controller.

Handling Authorization Errors

func authorizationController(controller: ASAuthorizationController, didCompleteWithError: Error)

Tells the delegate that authorization failed, and provides an error to explain why.

struct ASAuthorizationError

Errors that can occur during authorization.

Relationships

Inherits From

See Also

Responding to Request Completion

var delegate: ASAuthorizationControllerDelegate?

A delegate that the authorization controller informs about the success or failure of an authorization attempt.