title: motionEnded not called in appDelegate
body: <p>I want to integrate shake feature throughout the app. So I am doing everything in appDelegate. I need to push a viewController, I am able to push in motionBegan, but i wanted to do it motionEnded. yes motion ended does work in a view controller, but in app delegate it is not being called.
  Doing as </p>
  
  <pre><code>- (void)applicationDidBecomeActive:(UIApplication *)application {
       [self becomeFirstResponder];
  }
  - (BOOL)canBecomeFirstResponder{
      return YES;
  }
  </code></pre>
  
  <p>motionEnded not called</p>
  
  <pre><code>-(void) motionEnded:(UIEventSubtype)motion withEvent:(UIEvent *)event {
      if(event.subtype==UIEventSubtypeMotionShake){
          NSLog(@"motionEnded called");
      }
  }
  </code></pre>
  
  <p>motionBegan called</p>
  
  <pre><code>-(void) motionBegan:(UIEventSubtype)motion withEvent:(UIEvent *)event {
      if(event.subtype==UIEventSubtypeMotionShake){
          NSLog(@"motionBegan called");
      }
  }
  </code></pre>