From 7b02207537d35bfa1714bf8beafc921f717d100a Mon Sep 17 00:00:00 2001 From: 单军华 Date: Wed, 11 Jul 2018 10:47:42 +0800 Subject: [PATCH] 首次上传 --- screendisplay/Pods/FDFullscreenPopGesture/README.md | 62 +++++++++++++++++++++++++++++++ 1 files changed, 62 insertions(+), 0 deletions(-) diff --git a/screendisplay/Pods/FDFullscreenPopGesture/README.md b/screendisplay/Pods/FDFullscreenPopGesture/README.md new file mode 100755 index 0000000..0cc4217 --- /dev/null +++ b/screendisplay/Pods/FDFullscreenPopGesture/README.md @@ -0,0 +1,62 @@ +# FDFullscreenPopGesture +An UINavigationController's category to enable fullscreen pop gesture in an iOS7+ system style with AOP. + +# Overview + + + +������������������ @J_��� ���������������������������������������������������������[http://www.jianshu.com/p/d39f7d22db6c](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: + +``` objc +navigationController.fd_fullscreenPopGestureRecognizer.enabled = NO; +``` + +To disable this pop gesture of a view controller: + +``` objc +viewController.fd_interactivePopDisabled = YES; +``` + +Require at least iOS **7.0**. + +# View Controller Based Navigation Bar Appearance + +It handles navigation bar transition properly when using fullscreen gesture to push or pop a view controller: + +- with bar -> without bar +- without bar -> with bar +- without bar -> without bar + + + +This opmiziation is enabled by default, from now on you don't need to call **UINavigationController**'s `-setNavigationBarHidden:animated:` method, instead, use view controller's specific API to hide its bar: + +``` objc +- (void)viewDidLoad { + [super viewDidLoad]; + self.fd_prefersNavigationBarHidden = NO; +} +``` + +And this property is **YES** by default. + +# Installation + +Use cocoapods + +``` ruby +pod 'FDFullscreenPopGesture', '1.1' +``` +# Release Notes + +**1.1** - View controller based navigation bar appearance and transition. +**1.0** - Fullscreen pop gesture. + +# License +MIT -- Gitblit v1.8.0