|
I created the custom tabbar like below and I need to hide it only on the DetailView which is below the MyLibraryView in hierarchy. What would be the best way to achieve that? I tried to come up with several approaches but they all seemed overly complicated and couldn't make them work well in the end. This is the MainView:
And this is the CustomTabView:
|
|
Here a couple of solutions IF BLOCK Wrap the
PS you have to have a
SHEET VIEW Use a
Then you can change the main view to
PS you need to change the
|
|
Hi @NigelGee, Thank you for your suggestions, but I think they don't accomplish what I need (maybe I needed to be a little more clear). I do need the tabbar in the MyLibraryView. But inside the MyLibraryView there is a list and if you tap an item you get into the Detailview. And the DetailView is where I don't need the tab bar. So this DetailView is like a separate page and that's the only place where I don't need the tab bar. |
|
It would help if you give the correct information. I have done this but it only guessing what you want but this keep the tab bar in view until the detail view is shown
|
|
Thank you so much @NigelGee that works perfectly! I did mention it, but I could have been more clear and will be in the future. |
SPONSORED Take the pain out of configuring and testing your paywalls. RevenueCat's Paywalls allow you to remotely configure your entire paywall view without any code changes or app updates.
Sponsor Hacking with Swift and reach the world's largest Swift community!
This topic has been closed due to inactivity, so you can't reply. Please create a new topic if you need to.
All interactions here are governed by our code of conduct.
Link copied to your pasteboard.