Hello Guys,
I can I make motionEnded work in one of my viewController inside the tabbarcontroller.
-(BOOL)canBecomeFirstResponder
{
* * return YES;
}
In viewDidLoad I got
[self becomeFirstResponder];
- (void)motionEnded

UIEventSubtype)motion withEvent

UIEvent *)event
{
* * if (motion == UIEventSubtypeMotionShake )
* * {
* * * * NSLog(@"motioned");
* * }
}