测试已测试 | ✗ |
语言语言 | SwiftSwift |
许可证 | MIT |
发布最后发布 | 2017年11月 |
SwiftSwift 版本 | 3.0 |
SPM支持 SPM | ✗ |
由 criss_cheng 维护。
FDFullScreenPopGesture Swift 重制版。
本代码仅用于学习目的,思路与方法来自 FDFullScreenPopGesture 与 FDFullScreenPopGestureSwift。特此声明并表示感谢。
如有问题请批评指正。
initialize
方法已被弃用。需要在 application(_:didFinishLaunchingWithOptions:)
方法中调用 SHFullscreenPopGesture.configure()
来启用方法交换。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