<!--
{
  "availability" : [
    "iOS: 3.0.0 - 8.0.0",
    "iPadOS: 3.0.0 - 8.0.0",
    "macCatalyst: 13.1.0 - 13.1.0"
  ],
  "documentType" : "symbol",
  "framework" : "UIKit",
  "identifier" : "/documentation/UIKit/UISearchDisplayDelegate/searchDisplayController(_:shouldReloadTableForSearchScope:)",
  "metadataVersion" : "0.1.0",
  "role" : "Instance Method",
  "symbol" : {
    "kind" : "Instance Method",
    "modules" : [
      "UIKit"
    ],
    "preciseIdentifier" : "c:objc(pl)UISearchDisplayDelegate(im)searchDisplayController:shouldReloadTableForSearchScope:"
  },
  "title" : "searchDisplayController(_:shouldReloadTableForSearchScope:)"
}
-->

# searchDisplayController(_:shouldReloadTableForSearchScope:)

Asks the delegate if the table view should be reloaded for a given scope.

```
optional func searchDisplayController(_ controller: UISearchDisplayController, shouldReloadTableForSearchScope searchOption: Int) -> Bool
```

## Parameters

`controller`

The search display controller for which the receiver is the delegate.

`searchOption`

The index of the selected scope button in the search bar.

## Return Value

<doc://com.apple.documentation/documentation/Swift/true> if the display controller should reload the data in its table view, otherwise <doc://com.apple.documentation/documentation/Swift/false>.

## Discussion

If you don’t implement this method, then the results table is reloaded as soon as the scope button selection changes.

You might implement this method if you want to perform an asynchronous search: you would initiate the search in this method, then return <doc://com.apple.documentation/documentation/Swift/false>, and reload the table when you have results.

## See Also

[`selectedScopeButtonIndex`](/documentation/UIKit/UISearchBar/selectedScopeButtonIndex)

The index of the selected scope button.



---

Copyright &copy; 2026 Apple Inc. All rights reserved. | [Terms of Use](https://www.apple.com/legal/internet-services/terms/site.html) | [Privacy Policy](https://www.apple.com/privacy/privacy-policy)