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:
- [self becomeFirstResponder] in several different places
- Setting the delegate of the UIAccelerometer to self
- Walking the view hierarchy to confirm that self really is first responder 
(which it is)

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

Any ideas why this would be?

Thanks,

Dave

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

_______________________________________________

Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)

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:
http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com

This email sent to arch...@mail-archive.com

Reply via email to