Re: UIViewController: not receiving motion events
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