Latest 1.0.2
Homepage https://github.com/litt1e-p/LPScrollFullScreen
License MIT
Platforms ios 6.0, requires ARC
Frameworks Foundation, UIKit
Authors

Scroll to hide navigationBar and toolBar or tabBar for making full screen effect like Facebook app
which is base on NJKScrollFullScreen.

Additional

swift version is here

Screenshot

Include

  • use cocapods
    pod 'LPScrollFullScreen', '~> 1.0.2'
  • manual include
    drag LPScrollFullScreen folder into you project

Usage

need 2 lines code only
for example, in UITableViewController:

//@property (nonatomic, strong) LPScrollFullScreen *scrollProxy;
//self.edgesForExtendedLayout = UIRectEdgeAll;
//self.extendedLayoutIncludesOpaqueBars = YES;
_scrollProxy = [[LPScrollFullScreen alloc] initWithForwardTarget:self];
self.tableView.delegate = (id)_scrollProxy;

Update

  • v1.0.2

    fix a bug of hidding tabBar & navigationBar while scrollView’s contentOffset <= navigationBar’s bottom

  • v1.0.1

    add a static property value for origin navigationBar’s bottom

Latest podspec

{
    "name": "LPScrollFullScreen",
    "version": "1.0.2",
    "summary": "Scroll to make full screen.",
    "description": "Scroll to hide navigationBar and toolBar or tabBar for making full screen effect like Facebook app.",
    "homepage": "https://github.com/litt1e-p/LPScrollFullScreen",
    "license": {
        "type": "MIT"
    },
    "authors": {
        "litt1e-p": "[email protected]"
    },
    "source": {
        "git": "https://github.com/litt1e-p/LPScrollFullScreen.git",
        "tag": "1.0.2"
    },
    "platforms": {
        "ios": "6.0"
    },
    "requires_arc": true,
    "source_files": "LPScrollFullScreen/*",
    "frameworks": [
        "Foundation",
        "UIKit"
    ]
}

Pin It on Pinterest

Share This