I have a navbar up to and a tab bar at the bottom for most of the navigation in my app. I'm trying to display a fullscreen view, effectively removing all navigation, when clicking a button.
Other questions on SO address this case when there is no navbar or no tab bar, so they don't really answer my use case.
Here what I have tried:
Hide the navbar & tab bar on click: doesn't work for the tab bar. The top navigation becomes buggy if I try to go back to another view when dismissing the full screen view.
Use a modal: it works, but it's not fullscreen, which doesn't fit what I trying to do.
Use a ZStack on top of everything that I toggle with a button: this doesn't hide the tabbar.
Is there a solution, or should I just give up and use a modal?
Thanks
See Question&Answers more detail:
os 与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…