On 01/06/2011, at 1:55 PM, David Rowland wrote: > I think you want, > > - (void)motionEnded:(UIEventSubtype)motion withEvent:(UIEvent *)event > > You make a subclass of UIView, instantiate it, and implement the above within > that subclass.
Hmm, thanks but it's still not called. I have a subclass of UIView, and also a subclass of UIViewController. The controller is part of the responder chain after the view, so it *should* be called whether the view or the controller implements the method. Other events such as touches are passed along as expected, which is why I wondered if there's something else needed to enable shake events (e.g. a specific key in the info.plist). --Graham _______________________________________________ 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