Skip to content

A UINavigationController's category to enable fullscreen pop gesture with iOS7+ system style.

License

Notifications You must be signed in to change notification settings

pingguoilove/FDFullscreenPopGesture

 
 

Repository files navigation

FDFullscreenPopGesture

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

Overview

snapshot

这个扩展来自 @J_雨 同学的这个很天才的思路,他的文章地址:http://www.jianshu.com/p/d39f7d22db6c

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 navigation controller:

navigationController.fd_fullscreenPopGestureRecognizer.enabled = NO;

To disable this pop gesture of a view controller:

viewController.fd_interactivePopDisabled = YES;

Require at least iOS 7.0.

Installation

Use cocoapods

pod 'FDFullscreenPopGesture', '1.0'

License

MIT

About

A UINavigationController's category to enable fullscreen pop gesture with iOS7+ system style.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Objective-C 80.4%
  • Ruby 19.6%