---
title: sheetPresentationController
framework: uikit
role: symbol
role_heading: Instance Property
path: uikit/uiviewcontroller/sheetpresentationcontroller
---

# sheetPresentationController

The sheet presentation controller for the view controller.

## Declaration

```swift
var sheetPresentationController: UISheetPresentationController? { get }
```

## Discussion

Discussion If modalPresentationStyle is UIModalPresentationStyle.pageSheet or UIModalPresentationStyle.formSheet, this property contains a sheet presentation controller instance. Access this instance to customize or adjust the sheet before or after it presents. If modalPresentationStyle has a value other than UIModalPresentationStyle.pageSheet or UIModalPresentationStyle.formSheet, the value of this property is nil.

## See Also

### Adding a custom transition or presentation

- [transitioningDelegate](uikit/uiviewcontroller/transitioningdelegate.md)
- [transitionCoordinator](uikit/uiviewcontroller/transitioncoordinator.md)
- [targetViewController(forAction:sender:)](uikit/uiviewcontroller/targetviewcontroller(foraction:sender:).md)
- [presentationController](uikit/uiviewcontroller/presentationcontroller.md)
- [popoverPresentationController](uikit/uiviewcontroller/popoverpresentationcontroller.md)
- [activePresentationController](uikit/uiviewcontroller/activepresentationcontroller.md)
- [restoresFocusAfterTransition](uikit/uiviewcontroller/restoresfocusaftertransition.md)
- [Customizing and resizing sheets in UIKit](uikit/customizing-and-resizing-sheets-in-uikit.md)
