title: UIPopoverController placement
body: <p>I'm working on an app that is supposed to be universal, one app for both iPad and iPhone.  I would like to keep their interfaces as similar as possible.  In the iPhone app I am using a Tab bar controller, and one of those tabs goes to an image picker controller.   Obviously I cannot do that in iPad.  So I have hijacked control of that button to bring a popupcontroller that has the image picker in it.  This all works well enough, except when I bring up the popup, it is not in the correct place.  When I rotate the simulator, the popup goes to the correct place, and stays when I rotate back even.  </p>
  
  <p>My code is based on the code in this question:
  <a href="https://stackoverflow.com/questions/2818919/ipad-uiimagepickercontroller-and-uipopovercontroller-error">Ipad UIImagePickerController and UIPopoverController error</a></p>
  
  <p>Why would my popup not be in the correct location?</p>