fourfire666 / STNavigationBarAutoHide

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

STNavigationBarAutoHide

CI Status Version License Platform

NavigationBar automatically hides when scrolling, same as twitter.

Example

To run the example project, clone the repo, and run pod install from the Example directory first.

DemoHomeVC DemoNextVC

Requirements

This library requires iOS 13.0+ and Xcode 13.0+.

Installation

STNavigationBarAutoHide is available through CocoaPods. To install it, simply add the following line to your Podfile:

pod 'STNavigationBarAutoHide'

Usage

How to use?

Just need to configure scrollview in your controller.

[self st_navigationBarAutoHideConfigureScrollView:yourScrollView];

AutoHideEnabled

Whether auto-hide is available.

- (BOOL)st_navigationBarAutoHideEnabled;

- (void)st_setNavigationBarAutoHideEnabled:(BOOL)navigationBarAutoHideEnabled;

Author

talon, talon23333@gmail.com

Feedback

If you are having problem, post to the Issue or email me. Also if this project helped you, please give me a star.

License

STNavigationBarAutoHide is available under the MIT license. See the LICENSE file for more info.

About

License:Apache License 2.0


Languages

Language:Objective-C 91.7%Language:Ruby 8.3%