• 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: Fritz Anderson <email@hidden>
  • Date: Tue, 7 Sep 2010 17:19:30 -0500

On 7 Sep 2010, at 2:11 PM, Dave DeLong wrote:

> None of these work, and my motionEnded: method never gets called.

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?

UIAccelerometer, according to that chapter, doesn't have anything to do with recognizing a shake gesture.

	— F

_______________________________________________

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: UIViewController: not receiving motion events
      • From: Dave DeLong <email@hidden>
References: 
 >UIViewController: not receiving motion events (From: Dave DeLong <email@hidden>)

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