I found the problem after poking some more in Google. It is apparently a bug in 
UIKit. To fix it, I created a strong property in my controller connected to the 
UIGestureRecognizer and now, no more crash! So, the gesture recognizer, if 
nobody retains it, will be released without telling anyone, causing a random 
crash.

-Laurent.
-- 
Laurent Daudelin
AIM/iChat/Skype:LaurentDaudelin                                 
http://www.nemesys-soft.com/
Logiciels Nemesys Software                                      
[email protected]

On Aug 6, 2012, at 15:06, Quincey Morris <[email protected]> 
wrote:

> On Aug 6, 2012, at 14:54 , Laurent Daudelin <[email protected]> wrote:
> 
>> Forgot to mention that I also tried to connect the gestureRecognizers outlet 
>> of the UIImageView to the gesture recognizer, making sure the one from the 
>> scrollview had been removed with same result….
> 
> a. The backtrace you posted doesn't provide any evidence of gesture 
> recognizers being involved with the crash. Looks more like a memory 
> management problem related to network activity.
> 
> b. The 'gestureRecognizers' property isn't an outlet. Connecting it to 
> something in IB seems like a bad idea. (It doesn't seem completely 
> impossible, though, that this is the actual source of your memory management 
> problem.)
> 
> 


_______________________________________________

Cocoa-dev mailing list ([email protected])

Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com

Help/Unsubscribe/Update your Subscription:
https://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com

This email sent to [email protected]

Reply via email to