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