How to hide back button completely?
Opened this issue · 2 comments
K4meko commented
I tried:
case .GalleryScreen: GalleryView().navigationBarBackButtonHidden(true) }
But the back button still flickers on the start and then disappears.
Thanks!
Zamorite commented
You may want to try .uipNavigationBarHidden(true)
on your view.
e.g:
GalleryView()
.uipNavigationBarHidden(true)
It's one of the View extensions provided by UIPilot
Zamorite commented
You should keep .navigationBarBackButtonHidden(true)
if you also want to prevent people from popping routes using swipe gestures.
e.g:
GalleryView()
.uipNavigationBarHidden(true)
.navigationBarBackButtonHidden(true) // keep this