• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Problem using UIGestureRecognizer
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Problem using UIGestureRecognizer


  • Subject: Re: Problem using UIGestureRecognizer
  • From: Laurent Daudelin <email@hidden>
  • Date: Mon, 06 Aug 2012 16:11:09 -0700

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@hidden

On Aug 6, 2012, at 15:06, Quincey Morris <email@hidden> wrote:

> On Aug 6, 2012, at 14:54 , Laurent Daudelin <email@hidden> 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@hidden)

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:

This email sent to email@hidden


  • Follow-Ups:
    • Re: Problem using UIGestureRecognizer
      • From: Quincey Morris <email@hidden>
    • Re: Problem using UIGestureRecognizer
      • From: Graham Cox <email@hidden>
References: 
 >Problem using UIGestureRecognizer (From: Laurent Daudelin <email@hidden>)
 >Re: Problem using UIGestureRecognizer (From: Laurent Daudelin <email@hidden>)
 >Re: Problem using UIGestureRecognizer (From: Quincey Morris <email@hidden>)

  • Prev by Date: Re: gesture
  • Next by Date: Re: +underPageBackgroundColor
  • Previous by thread: Re: Problem using UIGestureRecognizer
  • Next by thread: Re: Problem using UIGestureRecognizer
  • Index(es):
    • Date
    • Thread