How do I use the new search tab bar in iOS 26?

Asked on 06/14/2025

1 search

To use the new search tab bar in iOS 26, you can take advantage of the updated design that provides a more integrated search experience. Here are some key points on how to implement and use it:

  1. Search Tab Integration: In iOS 26, the search bar can be positioned where it best suits your app's needs. On iPhone, the search bar automatically moves to the toolbar, making it easily accessible. If you already have a toolbar, you can include the search bar placement as a bar button item along with other bar buttons. This will position the search bar exactly where you want it, appearing either as an expanded field or a toolbar button, depending on the available space.

  2. Search Tab as a Destination: For tab-based apps where search is a destination, the search tab now appears separated from the rest of the tabs in the tab bar and morphs into the search field. You can set your tab as having a search role to get the updated appearance. This allows the search field to take the place of the tab bar when selected, and users can interact with browsing suggestions or tap on the search field to bring up the keyboard.

  3. Automatic Activation: To have the search field activate automatically when the search tab is tapped, set automaticallyActivateSearch to True on that tab. This is particularly useful for dedicated search views.

  4. Search Placement on iPad: On iPad, for universally accessible search, follow the macOS toolbar pattern by placing the search at the trailing edge of the navigation bar. This is ideal for split views and can be enabled by setting searchBarPlacementAllowsExternalIntegration on the navigation item to true.

For more detailed guidance, you can refer to the session Build a UIKit app with the new design (15:18) which covers the search updates in iOS 26.