title: UIDeviceOrientationDidChangeNotification called multiple times with a small change in accelerometer
body: <p>I am using </p>
  
  <pre><code>[[UIDevice currentDevice] beginGeneratingDeviceOrientationNotifications];
  [[NSNotificationCenter defaultCenter] addObserver:self selector:@selector(detectOrientation) name:@"UIDeviceOrientationDidChangeNotification" object:nil];
  </code></pre>
  
  <p>to make changes to some views in my appdelegate.</p>
  
  <p>But this gets called in a slightest variation of the accelerometer. Can anyone suggest any workaround, so that it gets only called when the device is completely rotated.
  Thanks</p>