title: UIImagePickerController in UIPopOverController is not opening up in iOS 5
body: <p>in my iPad app i am opening Photo Library in a popover controller. It was working fine in iOS 4 but now its not opening up in iOS 5.
  i am using the following code for opening Photo Library,</p>
  
  <pre><code>UIImagePickerController* picker = [[UIImagePickerController alloc] init]; 
      picker.sourceType = UIImagePickerControllerSourceTypePhotoLibrary;
      picker.delegate = self;
      picker.mediaTypes = [UIImagePickerController availableMediaTypesForSourceType:UIImagePickerControllerSourceTypePhotoLibrary];
  
      popOver = [[UIPopoverController alloc] initWithContentViewController:picker]; 
      popOver.delegate = self;
  
      int w = 320;
  
      CGRect pickerFrame = CGRectMake(0, 0, w, bImportPicker.frame.origin.y);
      [popOver setPopoverContentSize:pickerFrame.size animated:NO];   
      [popOver presentPopoverFromRect:pickerFrame inView:self.view permittedArrowDirections:UIPopoverArrowDirectionDown animated:YES];
      [picker release];
  </code></pre>