Skip to content

Latest commit

 

History

History
41 lines (31 loc) · 1.12 KB

File metadata and controls

41 lines (31 loc) · 1.12 KB

HJFullscreenPopGestureRecognizer

  • 类似酷狗音乐, 斗鱼TV的全屏返回手势, push动效, pop动效

image

image

image

How to use

  • 安装
  • Installation with CocoaPods:
pod 'HJFullscreenPopGestureRecognizer'
  • Manual import:

    • Drag All files in the HJFullscreenPopGestureRecognizer folder to project
    • Import the main file: #import "HJFullscreenPopGestureRecognizer.h"
  • 1.全屏返回手势

- (void)viewDidLoad {
    [super viewDidLoad];
    self.hj_fullscreenPopGestureRecognizerEnabled = YES;
}
  • 2.动画push
[self.navigationController hj_animatedPushViewController:viewController];
  • 3.动画pop
[self.navigationController hj_animatedPopViewController];

Over. it's just so easy!

发现Bug,暂时没时间折腾!