Normally when you shake the device the system will send your view controller the events: motionBegan -> motionEnded.
When you shake continuously, the system send the message motionBegan -> motionCancelled (because it not a single shake anymore) multiple times.
You can try to play with this sequence of event, but I think you have to use the accelerometer, see this answer (diceshaker).