<!--
{
  "availability" : [
    "iOS: 13.0.0 -",
    "iPadOS: 13.0.0 -",
    "macCatalyst: 13.1.0 -",
    "visionOS: 1.0.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "UIKit",
  "identifier" : "/documentation/UIKit/UISearchController/showsSearchResultsController",
  "metadataVersion" : "0.1.0",
  "role" : "Instance Property",
  "symbol" : {
    "kind" : "Instance Property",
    "modules" : [
      "UIKit"
    ],
    "preciseIdentifier" : "c:objc(cs)UISearchController(py)showsSearchResultsController"
  },
  "title" : "showsSearchResultsController"
}
-->

# showsSearchResultsController

A Boolean indicating whether the search results controller is visible when the search controller is active.

```
var showsSearchResultsController: Bool { get set }
```

## Discussion

Set this property to directly control the visibility of the search results controller. If you set this property, [`automaticallyShowsSearchResultsController`](/documentation/UIKit/UISearchController/automaticallyShowsSearchResultsController) becomes <doc://com.apple.documentation/documentation/Swift/false>.

---

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)