Re: UIViewController: not receiving motion events

2010-09-07 Thread Dave DeLong
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:

Re: UIViewController: not receiving motion events

2010-09-07 Thread Fritz Anderson
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 throug

UIViewController: not receiving motion events

2010-09-07 Thread Dave DeLong
Hi everyone, I've got a UIViewController subclass that controls a screen of content and a couple subviews. I'm trying to detect when the user shakes the device using UIResponder's motionEnded: method. In a nutshell, nothing that I do ever causes this method to be triggered. I've tried: - [sel