presentationAnchor(for:)
Tells the delegate from which window it should present content to the user.
Declaration
func presentationAnchor(for controller: ASAuthorizationController) -> ASPresentationAnchorParameters
- controller:
The controller asking for the presentation anchor.
Return Value
A user interface element that can act as the anchor for the authorization presentation.