Skip to content

fix(ui): hide system UITabBar floating platter when custom replacement subviews are used - #273

Open
Rengwang wants to merge 1 commit into
PlayCover:masterfrom
Rengwang:pr/fix-custom-tabbar-floating-platter
Open

Rengwang wants to merge 1 commit into
PlayCover:masterfrom
Rengwang:pr/fix-custom-tabbar-floating-platter

Conversation

@Rengwang

Copy link
Copy Markdown
  • On UITabBar (layoutSubviews / setSelectedItem:), detect when all native UITabBarItem entries are visually empty and covered by custom non-system replacement views (either a single >=75%-width bar or multi-subview button spans).
  • Hide system _UITabBarItemPlatterView / _UITabBarPlatterView / _UILiquidLensView selection pills in that case (with deferred main-queue re-check), while restoring visibility if native items become populated.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant