要求
- iOS 8.0+
- Xcode 10.0+
- Swift 5.0+
CocoaPods安装
pod 'WZFullscreenPopGesture', '~> 1.1.0'
说明
fixed:修复了setViewControllers:animated问题,参考FDFullscreenPopGesture
许可证
WZFullscreenPopGesture在MIT协议下发布。更多信息请参阅LICENSE。
具体用法
使用自定义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"];;