Hi there,
I am running this code, using the SIMULATOR, and it is not working when I tell the simulator to perform a shake gesture. Is the reason it is not working the fact that I am using the simulator, or is the code wrong.
Code:
-(void)motionBegan:(UIEventSubtype)motion withEvent:(UIEvent *)event {
if(event.type == UIEventTypeMotion && event.subtype == UIEventSubtypeMotionShake)
uitextview1.text = @"TEST SHAKE";
}
Thanks so much!