iOS开发者天堂GitHub上有趣的资源navgation

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

2016-08-01  本文已影响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
上一篇下一篇

猜你喜欢

热点阅读