Skip to content

Viminice/HJFullscreenPopGestureRecognizer

Repository files navigation

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,暂时没时间折腾!

About

全屏返回手势,类似酷狗音乐的动态push, 动态pop!

Resources

License

Stars

Watchers

Forks

Packages

No packages published