I'm making my app shake-gesture-compatible by doing this in my UIViewController:
- (void)viewWillAppear:(BOOL)animated
{
[self.view becomeFirstResponder];
[super viewWillAppear:animated];
}
The problem is that when I flip to another view (I'm using the "Utility App" template which has a flipside view and a root view controller to manage them both) the shake gesture ceases to work when I come back.
I see that the viewWillAppear
method is called, it just doesn't seem that the view regains first responder status the second time around.