Tôi có quan điểm rằng khi nhận được nhấn đúp, gửi thông báo đến bộ điều khiển gốc, người này sẽ loại bỏ và nhả chế độ xem.Đối tượng được phân giải nhận thông báo nhận dạng UIGestureRecognizer
Vấn đề là sau khi chế độ xem được phát hành, nó sẽ nhận được một sự kiện GestureRecognizer bị trì hoãn khác.
Sau đây là các thông tin từ 'cụ':
Category Event Type RefCt Timestamp Address Size Responsible Library Responsible Caller
UIScrollView Zombie -1 00:06.166 0x55496a0 0 UIKit -[UIGestureRecognizer _updateGestureWithEvent:]
0 CoreFoundation ___forwarding___
1 CoreFoundation _CF_forwarding_prep_0
2 UIKit -[UIGestureRecognizer _updateGestureWithEvent:]
3 UIKit -[UIGestureRecognizer _delayedUpdateGesture]
4 UIKit _UIGestureRecognizerUpdateObserver
5 UIKit _UIGestureRecognizerUpdateGesturesFromSendEvent
6 UIKit -[UIWindow _sendGesturesForEvent:]
7 UIKit -[UIWindow sendEvent:]
8 UIKit -[UIApplication sendEvent:]
9 UIKit _UIApplicationHandleEvent
10 GraphicsServices PurpleEventCallback
11 CoreFoundation CFRunLoopRunSpecific
12 CoreFoundation CFRunLoopRunInMode
13 GraphicsServices GSEventRunModal
14 GraphicsServices GSEventRun
15 UIKit UIApplicationMain
16 ipadapp main /Users/test/Projects/app/ipadapp/main.m:7
17 ipadapp start
UIScrollView dường như sẽ được phát hành vào đúng thời điểm.
Câu hỏi là tại sao sự kiện cử chỉ bổ sung này đến.
Mọi phản hồi kể từ đó? Tôi có cùng một vấn đề – CedricSoubrie