Skip to content

Commit

Permalink
fix(#4): remove iPadOS 18 native floating tab bar appearance
Browse files Browse the repository at this point in the history
  • Loading branch information
NicFontana committed Jan 12, 2025
1 parent 62b53a6 commit 1ae3832
Showing 1 changed file with 3 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,9 @@ struct UITabBarControllerRepresentable: UIViewControllerRepresentable {
tabBarController.setViewControllers(controlledViews, animated: false)
tabBarController.selectedIndex = selectedTabIndex
tabBarController.tabBar.isHidden = true
if #available(iOS 18.0, *) {
tabBarController.isTabBarHidden = true
}
return tabBarController
}

Expand Down

0 comments on commit 1ae3832

Please sign in to comment.