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.
$ aoe 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.
Meta
- License: MIT AND Apache-2.0
- License Provenance: legacy-backfill
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.
Meta
- License: MIT AND Apache-2.0
- License Provenance: legacy-backfill
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.
Relations
related: [@community/pattern-ios-tab-bar-top-level, @community/rule-ios-preserve-navigation-state, @community/rule-ios-sf-symbols-tab-bar, @community/anti-pattern-ios-hamburger-menu, @community/anti-pattern-ios-stacked-modals, @community/rule-ios-safe-area-insets]
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.
Meta
- License: MIT AND Apache-2.0
- License Provenance: legacy-backfill
Applies To
all iOS apps using a UITabBarController or SwiftUI TabView with navigation stacks inside each tab
Source
aoe-engine/examples/frontend-design/primes/compiled/@community/rule-ios-tab-bar-always-visible/atom.yaml