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

# searchBarPlacementAllowsExternalIntegration

A Boolean value that indicates whether an alternate object may integrate the search bar somewhere other than the navigation bar or toolbar.

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

## Overview

Set this value to indicate whether an object at a higher scope may take the search bar and integrate it somewhere other than the navigation bar (or toolbar) directly associated with this navigation item. [`UISplitViewController`](/documentation/UIKit/UISplitViewController) uses this to allow Mac-like placement of the search bar on iPad. Defaults to <doc://com.apple.documentation/documentation/Swift/false>.

Set to <doc://com.apple.documentation/documentation/Swift/true> to allow the containing [`UISplitViewController`](/documentation/UIKit/UISplitViewController) to place the search bar in the navigation bar for the trailingmost column independent of the column used for this view controller. Ignored when [`searchController`](/documentation/UIKit/UINavigationItem/searchController) is `nil`, when [`searchBarPlacement`](/documentation/UIKit/UINavigationItem/searchBarPlacement-swift.property) is [`UINavigationItem.SearchBarPlacement.stacked`](/documentation/UIKit/UINavigationItem/SearchBarPlacement-swift.enum/stacked), or when not contained in a [`UISplitViewController`](/documentation/UIKit/UISplitViewController).

When the top view controller’s navigation item has this property set to <doc://com.apple.documentation/documentation/Swift/true> in more than one column at the same time, only one will be respected; the columns are checked in order of [`UISplitViewController.Column.inspector`](/documentation/UIKit/UISplitViewController/Column/inspector), [`UISplitViewController.Column.secondary`](/documentation/UIKit/UISplitViewController/Column/secondary), [`UISplitViewController.Column.supplementary`](/documentation/UIKit/UISplitViewController/Column/supplementary), [`UISplitViewController.Column.primary`](/documentation/UIKit/UISplitViewController/Column/primary). If the search bar has a scope bar, the scope bar will not be moved into a different column.

---

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)