UIResponder Troubles
问题 Tonight I've been battling with UIResponder. Here's my predicament. If I put in - (BOOL)canBecomeFirstResponder{ return YES; } to my mainViewController then I can get shake events.. - (void)motionBegan:(UIEventSubtype)motion withEvent:(UIEvent *)event { if (event.type == UIEventSubtypeMotionShake) { //do something } } However, this means that when I call things like mail forms and webviews, the keyboard does not show up. Is there any way I can get both shakes working and keyboard working in