---
title: "presentationAnchor(for:)"
framework: authenticationservices
role: symbol
role_heading: Instance Method
path: "authenticationservices/asauthorizationcontrollerpresentationcontextproviding/presentationanchor(for:)"
---

# presentationAnchor(for:)

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

## Declaration

```swift
func presentationAnchor(for controller: ASAuthorizationController) -> ASPresentationAnchor
```

## Parameters

- `controller`: The controller asking for the presentation anchor.

## Return Value

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

## See Also

### Specifying the Anchor

- [ASPresentationAnchor](authenticationservices/aspresentationanchor.md)
