How do I turn off the navigation bar on iOS by following the scroll like Facebook, leaving a status bar?
If possible, I would like to do this without using the library (as I am not going to use the oss library as much as possible).
Just
self.navigationController?setNavigationBarHidden(true, animated:true)
Then both disappear.
The easiest way to do this is to set hidesBarsOnSwipe
to true
in the UINavigationController
.
navigationController?.hidesBarsOnTap=true
Hide the UINavigationController navigation bar and
I think it would be easier to use a UI similar to the navigation bar with UIView etc.
© 2024 OneMinuteCode. All rights reserved.