Contents

presentationAnchor(for:)

Tells the delegate from which window it should present content to the user.

Declaration

func presentationAnchor(for controller: ASAuthorizationController) -> ASPresentationAnchor

Parameters

  • controller:

    The controller asking for the presentation anchor.

Return Value

A user interface element that can act as the anchor for the authorization presentation.

See Also

Specifying the Anchor