• 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: UIViewController: not receiving motion events
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: UIViewController: not receiving motion events


  • Subject: Re: UIViewController: not receiving motion events
  • From: Dave DeLong <email@hidden>
  • Date: Tue, 07 Sep 2010 16:30:14 -0600

Yes, sorry.  "motionEnded:" was shorthand for "motionEnded:withEvent:"  I should've been clearer about that.

I could've sworn I overrode canBecomeFirstResponder, but apparently I hadn't.  Putting that in appears to have fixed it.

Thanks,

Dave

On Sep 7, 2010, at 4:19 PM, Fritz Anderson wrote:

> You say repeatedly that you are looking for the method -motionEnded:, period. There is no such method in the API. There is a -motionEnded:withEvent:. Did you try that?
>
> Going through the Motion Events chapter of Event Handling Guide for iPhone OS, I see sample code for the responder, which includes returning YES from -canBecomeFirstResponder. Do you do this?

Attachment: smime.p7s
Description: S/MIME cryptographic signature

_______________________________________________

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

References: 
 >UIViewController: not receiving motion events (From: Dave DeLong <email@hidden>)
 >Re: UIViewController: not receiving motion events (From: Fritz Anderson <email@hidden>)

  • Prev by Date: Re: recalling the original view height
  • Next by Date: Re: Compiling Core Data Mapping Model : Spurious Warning re 10.5 Deployment?
  • Previous by thread: Re: UIViewController: not receiving motion events
  • Next by thread: recalling the original view height
  • Index(es):
    • Date
    • Thread