iOS 一行代码搞定全屏滑动返回

作者: 小辉辉___ | 来源:发表于2016-08-01 10:28 被阅读323次

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

网址:https://github.com/forkingdog/FDFullscreenPopGesture

pod 'FDFullscreenPopGesture', '1.1'

使用此弹出姿态的导航控制器navigationController:

navigationController.fd_fullscreenPopGestureRecognizer.enabled = YES;

使用此弹出姿态的控制器viewController:

viewController.fd_interactivePopDisabled = YES;

如图所示:

demo 1038388-c0ad93f0171c4644.jpeg

或者加微信拉群


1038388-d4a7c84ea2ee65fc.jpeg

相关文章

网友评论

  • 超_iOS:这个导航栏颜色不一样时也是解决不了问题的

本文标题:iOS 一行代码搞定全屏滑动返回

本文链接:https://www.haomeiwen.com/subject/enuxsttx.html