Ho la vista che alla ricezione di un doppio tocco, invia una notifica al controller di root, che a sua volta rimuove e rilascia la vista.Oggetto deallocated che riceve il messaggio UIGestureRecognizer
Il problema è che dopo che la vista è stata rilasciata, riceve un altro evento GestureRecognizer ritardato.
seguito è le informazioni da 'strumenti':
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 sembra per essere rilasciato al momento giusto.
Domanda è perché questo evento gesto aggiuntivo sta arrivando.
Qualche risposta da allora? Ho lo stesso problema – CedricSoubrie