title: Application is enabled only to Portrait, but UIImagePickerController rotates in iOS6
body: <p><strong>Please note that the answer below - do not work for iOS6 so I still need an answer!</strong></p>
  
  <p>My application is enabled only for Portrait mode.</p>
  
  <p>However, if I embed a UIImagePickerController inside as a subview, and rotate the device, the top and bottom bar stays in the same location, however UIImagePickerController does rotate.</p>
  
  <p>How can I prevent it from rotating?</p>
  
  <p>This is the code:</p>
  
  <pre><code>    [self.view.window addSubview:self.imagePickerController.view];
      self.imagePickerController.showsCameraControls = NO; 
      self.imagePickerController.view.frame = CGRectMake(0, 90, 320, 320);
      self.imagePickerController.allowsEditing = NO;
  </code></pre>
  
  <p><strong>EDITED</strong></p>
  
  <p>I am using iOS6 where shouldAutorotate is not being calle</p>