I am using XCode..
I have implemented the shake code.
Now I want to check - weather that code works or not..
But how to shake - iPhone simulator??
I am using XCode..
I have implemented the shake code.
Now I want to check - weather that code works or not..
But how to shake - iPhone simulator??
I could be wrong but I'm pretty sure I have seen a simulate shake command in one of the simulator's menus.
Aviad has the right answer, but it assumes that you are using the Shake event on the iPhone, and not a custom shake handler that works with the accelerometer.
This tutorial on implementing shake with 3.0 seems very good. Best I've found so far.
Yes, the shake gesture is in the simulator's hardware menu. For other details, see the tutorial.