Requirements:
- iOS 8.0+
- Xcode 10.0+
- Swift 5.0+
Installation Cocoapods
pod 'WZFullscreenPopGesture', '~> 1.1.0'
说明
fixed:修改了setViewControllers:animated不行的问题 参考 FDFullscreenPopGesture
License
WZFullscreenPopGesture is released under an MIT license. See LICENSE for more information.
具体用法
使用自定义NavigationBar:self.fd_showCustomNavigationBar = true 修改自定义NavigationBar:self.fd_customNavigationBar.setBackgroundImage(UIImage(), for: .default)
自定义UINavigationController 实现以下
开启和关闭fd(解决跟其他自定义隐藏NavigationBar冲突): self.fd_open = YES; 设置默认返回按钮:self.fd_backItem = [UIImage imageNamed:@"navBack"];