Ios Tab Bar Always Visible
The tab bar must remain visible when pushing child views within a tab; never set hidesBottomBarWhenPushed = true or hide the tab bar programmatically during in-tab navigation.
$ prime install @community/rule-ios-tab-bar-always-visible Projection
Always in _index.xml · the agent never has to ask for this.
IosTabBarAlwaysVisible [rule] v1.0.0
The tab bar must remain visible when pushing child views within a tab; never set hidesBottomBarWhenPushed = true or hide the tab bar programmatically during in-tab navigation.
Loaded when retrieval picks the atom as adjacent / supporting.
IosTabBarAlwaysVisible [rule] v1.0.0
The tab bar must remain visible when pushing child views within a tab; never set hidesBottomBarWhenPushed = true or hide the tab bar programmatically during in-tab navigation.
Applies To
all iOS apps using a UITabBarController or SwiftUI TabView with navigation stacks inside each tab
Loaded when retrieval picks the atom as a focal / direct hit.
IosTabBarAlwaysVisible [rule] v1.0.0
The tab bar must remain visible when pushing child views within a tab; never set hidesBottomBarWhenPushed = true or hide the tab bar programmatically during in-tab navigation.
Applies To
all iOS apps using a UITabBarController or SwiftUI TabView with navigation stacks inside each tab
Examples
- Wrong: viewController.hidesBottomBarWhenPushed = true on a detail view pushed inside a tab.
- Correct: tab bar remains present at all push depths; detail views appear above it.
- Verify: navigate 3 levels deep within a tab; tab bar must still be visible and tappable.
Rationale
Hiding the tab bar removes the user's primary orientation signal — they can no longer see which section they are in or switch to another section. This is cited as Anti-Pattern #9 in the HIG. iOS 18+ enforces tab bar visibility in NavigationSplitView contexts.
Applies To
all iOS apps using a UITabBarController or SwiftUI TabView with navigation stacks inside each tab
Source
prime-system/examples/frontend-design/primes/compiled/@community/rule-ios-tab-bar-always-visible/atom.yaml