---
title: searchDisplayController
framework: uikit
role: symbol
role_heading: Instance Property
path: uikit/uiviewcontroller/searchdisplaycontroller
---

# searchDisplayController

The search display controller associated with the view controller.

## Declaration

```swift
var searchDisplayController: UISearchDisplayController? { get }
```

## Discussion

Discussion This property reflects the value of the searchDisplayController outlet that you set in Interface Builder. If you create your search display controller programmatically, this property is set automatically by the search display controller when it is initialized.

## See Also

### Deprecated properties

- [shouldAutorotate](uikit/uiviewcontroller/shouldautorotate.md)
- [previewActionItems](uikit/uiviewcontroller/previewactionitems.md)
- [automaticallyAdjustsScrollViewInsets](uikit/uiviewcontroller/automaticallyadjustsscrollviewinsets.md)
- [bottomLayoutGuide](uikit/uiviewcontroller/bottomlayoutguide.md)
- [interfaceOrientation](uikit/uiviewcontroller/interfaceorientation.md)
- [isModalInPopover](uikit/uiviewcontroller/ismodalinpopover.md)
- [topLayoutGuide](uikit/uiviewcontroller/toplayoutguide.md)
