Removing More Button from Tab bar - SwiftUI
HTML-код
- Опубликовано: 19 июл 2024
- Hello Guys 🖐🖐🖐
In this video I'm going to show how to hide More Button from Tab bar when using more than five tabs in SwiftUI | SwiftUI Hiding Tab Bar | SwiftUI Removing More Navigation From Tab Bar | SwiftUI Custom Tab Bar | Xcode 16 | iOS 18 | Swift | SwiftUI Xcode 16 | SwiftUI for iOS 18 | Xcode 16 SwiftUI.
#apple #swiftui #ios #xcode #animation #ui #design #animation
► Source Code: / early-access-tab-10754...
► Subscribe For More: ruclips.net/user/Kavsoft?sub_c...
► For Apple Device Mockup's: apps.apple.com/us/app/mockvie...
► SwiftUI Books [Affiliate Link]: www.bigmountainstudio.com/fro...
► Support Us
Patreon : / kavsoft
PayPal: www.paypal.com/paypalme/Kavso...
Contributions : donorbox.org/kavsoft
BuyMeaCoffee: www.buymeacoffee.com/kavsoft
► My Specs
Xcode Version: 16 Beta 2
macOS Version: 14.5 Sonoma
► Official Website: kavsoft.dev
For Any Queries: kavsoft.dev/#contact
► Social Platforms
Instagram: / _kavsoft
Twitter: / _kavsoft
► Timestamps
0:00 Intro
0:24 Removing More Button From Tab Bar
Thanks for watching
Make sure to like and Subscribe For More Content !!!
When the project is targeting iOS 16+, just ignore the usage of the toolbar modifier and add this helper function, and in that, add this line.
tabController.tabBar.isHidden = true
This will completely hide the tab bar from the TabView.
Hey Kav, have you tried creating your own app or a startup? I think u have the skills to create profitable and functional apps
Thank you for your amazing content! I am a supporter of yours on Patreon.
I have a question: How can I implement the hidesTabbarWhenPushed functionality when used a custom tabbar?
Thanks!
Make use of this helper function and just add this line as well,
tabController.hidesTabbarWhenPushed = true
@@Kavsoft I have added the "tabBarController.hidesBottomBarWhenPushed = true" after tabController.tabBar.isHidden = true. But it doesn't work. I think it only works on the native tabbar. I want to know how to hide the custom tabbar when pushed.
@@Kavsoftthe notifications don’t work on my app. They used to work before. I dont know what’s wrong with, it’s the same code.
Do you have any suggestions?
Should i delete Xcode and download again? Do you think that would work?😢😅