I'm building an app with Xcode 27. I had trouble getting the tab bar to detach the search button onto the trailing side. I found that the search behaviour now works through the new .prominent treatment on iOS 27 (with Tab(role: .search)), and the detached button now displays correctly.
My remaining problem is the activation behaviour.
Expected (as in the system Phone / News / App Store apps): tapping the search button morphs the tab bar — the other tabs collapse into a single leading button and the search field expands at the bottom, centered.
Actual: tapping the search tab pushes the search field to the top of the screen, attached to the navigation bar, with no morph animation and no tab collapse.
Setup:
Xcode 27.0 beta, iOS 27.0 on a physical iPhone Air
Same with the Simulator (by the way... i also have some terrible lag with my app on Simulator + my iPhone even with a release version, but not throught TestFlight... strange...)
3 standard tabs + 1 search tab
Single .searchable(text:) applied directly on the TabView (not on the inner NavigationStack)
No .introspect or third-party modifiers on the search NavigationStack
Is the morph + tab-collapse behaviour automatic for the search tab on iPhone, or does it require an additional modifier/configuration I'm missing?
Can anyone confirm whether this morph works on a stable iOS 26 build with equivalent code? I suspect a regression in the 27.0 beta SDK, since the detached button works but the activation morph does not.
I'm not yet an expert... so maybe i'm doing something wrong.
I'll file Feedback if this is confirmed as a beta bug. Thanks.
Topic:
UI Frameworks
SubTopic:
SwiftUI
0
0
22