title: UIViewController inside a root ViewController not rotating
body: <p>I have a UIViewController that I want to add on top of the entire app as an independent layer. So I tried adding it to the UIWindow using [self.window addSubview:viewController.view] in the app delegate.</p>
  
  <p>However, when the user rotates the device, I do not get the willRotateToInterfaceOrientation event in my view controller. So I tried doing what was suggested <a href="http://developer.apple.com/library/ios/#qa/qa1688/_index.html" rel="nofollow">here</a>: I added my view controller as a subview of the root view controller of the window in the app delegate, but my willRotateToInterfaceOrientation is still not being called. </p>
  
  <p>What should I do?</p>