title: UIDeviceOrientationDidChangeNotification not firing?
body: <p>I simply can not get the <code>UIDeviceOrientationDidChangeNotification</code> to fire.</p>
  
  <p>I have my AppDelegate, here I add a <code>PolyOrientationViewController</code>, which has a <code>UInavigationController</code> that can push a <code>VerticalNavigationController</code> and a <code>HorizontalViewController</code> depending on the orientation of the iPad.</p>
  
  <pre><code>- (BOOL)application:(UIApplication *)application didFinishLaunchingWithOptions:(NSDictionary *)launchOptions {    
  
      ISPolyOrientationTableViewController *pvc = [[ISPolyOrientationTableViewController alloc] init];
      [window addSubview:pvc.view];
      [pvc release];
      [window makeKeyAndVisible];
  
      return YES;
  }
  </code></pre>
  
  <p>Poly, Vertical and Horizontal viewController implements:</p>
  
  <pre><code>- (BOOL)shouldAutorotateToInterfaceOrientation:(UIInterfaceOrientation)interfaceOrientation {
      return YES;
  }
  </code></pre>
  
  <p>PolyVC, which is the top most ViewController, it has these methods:</p>
  
  <pre><code>- (void)viewDidLoad {
  
      [[UIDevice currentDevice] beginGeneratingDeviceOrientationNotifications];
      [[NSNotificationCenter defaultCenter] addObserver:self selector:@selector(didRotate:) 
                                                   name:UIDeviceOrientationDidChangeNotification
                                                 object:nil];
  
      [super viewDidLoad];
  }
  </code></pre>
  
  <p>It has the function related:</p>
  
  <pre><code>- (void)didRotate:(NSNotification *)notification {
      //push the related controller
  }
  </code></pre>
  
  <p>Upon the instantiation of the PolyVC, the <code>didRotate:</code> method is called, from here on it simply stops generating the <code>UIDeviceOrientationDidChangeNotification</code>, I think.</p>
  
  <p>I have a breakpoint in the <code>didRotate:</code> method, I have loaded the app onto an iPad to make sure it was not a simulator thing, I have made a new xcode splitViewController project, tested the rotation worked, deleted the code and pasted my own, I have checked the orientation-lock button, I have tried implementing the <code>-(BOOL) ShouldAutoRotate…</code> I is neither called, I checked that the info.plist specifies that the app supports all the orientations, I have tried copy pasting every piece of notification code from a working example I found to weed out typos.</p>
  
  <p>I am completely at my wits end here:) Is there something I could have done, some way of implementing a UIViewController, not using IB, nesting ViewControllers inside ViewControllers (PolyViewController owns UINavigationController that owns Vertical and HorizontalViewController) or anything that will make the app completely ignore interfaceOrientation notifications?</p>
  
  <p>I hope someone can point out my mistake :)
  Thank you in advance.</p>