Latest 2.0
Homepage https://github.com/cctomato/XLPopGesture
License MIT
Platforms ios 7.0, requires ARC
Authors

An UINavigationController’s category to enable fullscreen pop gesture in an iOS7+ system style with AOP.

Overview

snapshot

Design ideas come from FDFullscreenPopGesture and MVVMReactiveCocoa

Thanks for sharing.

Usage

AOP, just add 2 files and no need for any setups, all navigation controllers will be able to use fullscreen pop gesture automatically.

To disable this pop gesture of a view controller:

viewController.xl_prefersDisablePop = YES;

To hidden the navigationBar of a view controller:

viewController.xl_prefersNavigationBarHidden = YES;

To close the Pop effects of a navigationController:

navigationController.xl_prefersOpenPopEffects = NO;

TabbarItem will be hidden when push ViewController,if you do not want this:

navigationController.xl_prefersHiddenTabBar = NO;

Installation

Use CocoaPods

pod 'XLPopGesture'

License

MIT

Latest podspec

{
    "name": "XLPopGesture",
    "version": "2.0",
    "summary": "A custom PopGesture with AOP.",
    "description": "A custom PopGesture with AOP. Just pod in 2 files and no need for any setups.",
    "homepage": "https://github.com/cctomato/XLPopGesture",
    "license": {
        "type": "MIT",
        "file": "LICENSE"
    },
    "authors": {
        "cctomato": "[email protected]"
    },
    "platforms": {
        "ios": "7.0"
    },
    "source": {
        "git": "https://github.com/cctomato/XLPopGesture.git",
        "tag": "2.0"
    },
    "source_files": "XLPopGesture/*.{h,m}",
    "requires_arc": true
}

Pin It on Pinterest

Share This