tags:

views:

56

answers:

2

I have an iphone app where I am able to shake and play a random file with MPMoviePlayerController. But while the Movie Player is on the screen, it is unable to detect a shake. How can I get the Movie Player to detect shakes while playing?

Thanks for your help!

+1  A: 

Only the "first responder" recieves the UIResponder shake notifications. Use UIAccelerometer directly; Googling "UIAccelerometer shake" should give you some vaguely working code.

tc.
A: 

Thank you! UIAccelerometer solved the problem perfectly.

intunejoe