TestsTested | ✗ |
LangLanguage | SwiftSwift |
License | MIT |
ReleasedLast Release | Nov 2017 |
SwiftSwift Version | 3.0 |
SPMSupports SPM | ✗ |
Maintained by criss_cheng.
FDFullScreenPopGesture Swift 重制版.
本代码仅出于学习目的,思路与方法出自 FDFullScreenPopGesture 与 FDFullScreenPopGestureSwift .特此声明并表示感谢.
如有问题请批评指正.
initialze
方法被禁用.需在 application(_:didFinishLaunchingWithOptions:)
方法中调用 SHFullscreenPopGesture.configure()
来启用 Method swizzling.func application(_ application: UIApplication, didFinishLaunchingWithOptions launchOptions: [UIApplicationLaunchOptionsKey: Any]?) -> Bool {
// Override point for customization after application launch.
// 启用
SHFullscreenPopGesture.configure()
return true
}
scrollView.sh_scrollViewPopGestureRecognizerEnable = true
pod 'SHFullscreenPopGestureSwift'
MIT