Latest 0.0.1
Homepage https://github.com/zq54zquan/SLNavigationbarManager
License MIT
Platforms ios 7.0, requires ARC
Authors

SLNavigationbarManager

滚动view根据滚动位置是否全屏显示

Installation

pod 'SLNavigationBarManager', '~> 0.0.1'

Usage

In you view Controller:

@property (nonatomic, strong) SLNavigationBarManager *navigationBarManager;
- (void)viewDidLoad
{
    [super viewDidLoad];
    self.navigationBarManager = [[SLNavigationBarManager alloc] initWithViewController:self scollView:self.webView.scrollView];
}

-(void)viewWillAppear:(BOOL)animated{
    [super viewWillAppear:animated];
    [self.navigationBarManager addScrollObserver];
}

-(void)viewWillDisappear:(BOOL)animated{
    [super viewWillDisappear:animated];
    [self.navigationBarManager pushedOrPulled];
}

Latest podspec

{
    "name": "SLNavigationBarManager",
    "version": "0.0.1",
    "summary": "Show or hidden Navigation bar base on the offset of the scrollable view ",
    "description": "                   Init a instance of SLNavigationBarManager with the viewController and a scrollView in you want to observer, it will automatic help you show or hidden the navigationbarn",
    "homepage": "https://github.com/zq54zquan/SLNavigationbarManager",
    "license": "MIT",
    "authors": {
        "Gabriel": "[email protected]"
    },
    "platforms": {
        "ios": "7.0"
    },
    "source": {
        "git": "https://github.com/zq54zquan/SLNavigationbarManager.git",
        "commit": "928ab2a1f0f5a32d7c07226c6e8b4fa22e32ddb7"
    },
    "source_files": "SLNavigationBarManager/navManager/*.{h,m}",
    "requires_arc": true
}

Pin It on Pinterest

Share This