---
title: authorizationViewControllerPresenter
framework: healthkit
role: symbol
role_heading: Instance Property
path: healthkit/hkhealthstore/authorizationviewcontrollerpresenter
---

# authorizationViewControllerPresenter

The view controller that presents HealthKit authorization sheets.

## Declaration

```swift
weak var authorizationViewControllerPresenter: UIViewController? { get set }
```

## Discussion

Discussion By default, the system infers the correct view controller to show HealthKit’s authorization sheet. In some cases, you can improve the user experience by explicitly defining how the system presents the authentication sheets. In particular, consider setting this property when using HealthKit in an iPadOS app.

## See Also

### Accessing HealthKit

- [authorizationStatus(for:)](healthkit/hkhealthstore/authorizationstatus(for:).md)
- [HKAuthorizationStatus](healthkit/hkauthorizationstatus.md)
- [getRequestStatusForAuthorization(toShare:read:completion:)](healthkit/hkhealthstore/getrequeststatusforauthorization(toshare:read:completion:).md)
- [HKAuthorizationRequestStatus](healthkit/hkauthorizationrequeststatus.md)
- [isHealthDataAvailable()](healthkit/hkhealthstore/ishealthdataavailable().md)
- [supportsHealthRecords()](healthkit/hkhealthstore/supportshealthrecords().md)
- [requestAuthorization(toShare:read:completion:)](healthkit/hkhealthstore/requestauthorization(toshare:read:completion:).md)
- [requestAuthorization(toShare:read:)](healthkit/hkhealthstore/requestauthorization(toshare:read:).md)
- [requestPerObjectReadAuthorization(for:predicate:completion:)](healthkit/hkhealthstore/requestperobjectreadauthorization(for:predicate:completion:).md)
- [handleAuthorizationForExtension(completion:)](healthkit/hkhealthstore/handleauthorizationforextension(completion:).md)
