NavigationBar automatically hides when scrolling, same as twitter.
To run the example project, clone the repo, and run pod install
from the Example directory first.
This library requires iOS 13.0+ and Xcode 13.0+.
STNavigationBarAutoHide is available through CocoaPods. To install it, simply add the following line to your Podfile:
pod 'STNavigationBarAutoHide'
Just need to configure scrollview in your controller.
[self st_navigationBarAutoHideConfigureScrollView:yourScrollView];
Whether auto-hide is available.
- (BOOL)st_navigationBarAutoHideEnabled;
- (void)st_setNavigationBarAutoHideEnabled:(BOOL)navigationBarAutoHideEnabled;
talon, [email protected]
If you are having problem, post to the Issue or email me. Also if this project helped you, please give me a star.
STNavigationBarAutoHide is available under the MIT license. See the LICENSE file for more info.