---
title: UISearchDisplayDelegate
framework: uikit
role: symbol
role_heading: Protocol
path: uikit/uisearchdisplaydelegate
---

# UISearchDisplayDelegate

The interface for the delegate of a search display controller.

## Declaration

```swift
@MainActor protocol UISearchDisplayDelegate : NSObjectProtocol
```

## Overview

Overview This protocol defines delegate methods for UISearchDisplayController objects.

## Topics

### Responding to search state change

- [searchDisplayControllerWillBeginSearch(_:)](uikit/uisearchdisplaydelegate/searchdisplaycontrollerwillbeginsearch(_:).md)
- [searchDisplayControllerDidBeginSearch(_:)](uikit/uisearchdisplaydelegate/searchdisplaycontrollerdidbeginsearch(_:).md)
- [searchDisplayControllerWillEndSearch(_:)](uikit/uisearchdisplaydelegate/searchdisplaycontrollerwillendsearch(_:).md)
- [searchDisplayControllerDidEndSearch(_:)](uikit/uisearchdisplaydelegate/searchdisplaycontrollerdidendsearch(_:).md)

### Loading and unloading the table view

- [searchDisplayController(_:didLoadSearchResultsTableView:)](uikit/uisearchdisplaydelegate/searchdisplaycontroller(_:didloadsearchresultstableview:).md)
- [searchDisplayController(_:willUnloadSearchResultsTableView:)](uikit/uisearchdisplaydelegate/searchdisplaycontroller(_:willunloadsearchresultstableview:).md)

### Showing and hiding the table view

- [searchDisplayController(_:willShowSearchResultsTableView:)](uikit/uisearchdisplaydelegate/searchdisplaycontroller(_:willshowsearchresultstableview:).md)
- [searchDisplayController(_:didShowSearchResultsTableView:)](uikit/uisearchdisplaydelegate/searchdisplaycontroller(_:didshowsearchresultstableview:).md)
- [searchDisplayController(_:willHideSearchResultsTableView:)](uikit/uisearchdisplaydelegate/searchdisplaycontroller(_:willhidesearchresultstableview:).md)
- [searchDisplayController(_:didHideSearchResultsTableView:)](uikit/uisearchdisplaydelegate/searchdisplaycontroller(_:didhidesearchresultstableview:).md)

### Responding to changes in search criteria

- [searchDisplayController(_:shouldReloadTableForSearch:)](uikit/uisearchdisplaydelegate/searchdisplaycontroller(_:shouldreloadtableforsearch:).md)
- [searchDisplayController(_:shouldReloadTableForSearchScope:)](uikit/uisearchdisplaydelegate/searchdisplaycontroller(_:shouldreloadtableforsearchscope:).md)

## Relationships

### Inherits From

- [NSObjectProtocol](objectivec/nsobjectprotocol.md)

## See Also

### Deprecated protocols

- [UIActionSheetDelegate](uikit/uiactionsheetdelegate.md)
- [UIAlertViewDelegate](uikit/uialertviewdelegate.md)
- [UIPopoverControllerDelegate](uikit/uipopovercontrollerdelegate.md)
- [UIViewControllerPreviewing](uikit/uiviewcontrollerpreviewing.md)
- [UIViewControllerPreviewingDelegate](uikit/uiviewcontrollerpreviewingdelegate.md)
