I have a UIViewController with this method:
Then I build and run, and invoke a shake gesture (using the iPhone Simulator menu) but nothing happens. Am I missing something?
Code:
- (void)motionBegan:(UIEventSubtype)motion withEvent:(UIEvent *)event
{
NSLog(@"FUN");
}
Then I build and run, and invoke a shake gesture (using the iPhone Simulator menu) but nothing happens. Am I missing something?