title: Adding UIImagePickerController as a subview
body: <p>I want to add a UIImagePickerController in a custom frame, so have been following a few posts around adding the UIImagePickerController view as a subview. </p>
  
  <p>A couple of questions:</p>
  
  <ul>
  <li>How would I adjust the frame of this subview? </li>
  <li>After adding as a subview, touch seems to be disabled (I can't browse photos or press the cancel button), how would I solve this?</li>
  </ul>
  
  <p>Many thanks in advance!</p>
  
  <p>My Code:</p>
  
  <pre><code>self.imagePicker = [[UIImagePickerController alloc] init];
  self.imagePicker.sourceType = UIImagePickerControllerSourceTypePhotoLibrary;
  self.imagePicker.delegate = self;
  
  //This is a subview of self.view. 
  [self.pickerControllerHolderView addSubview:self.imagePicker.view];
  
  // This seems to adjust the size of the view, but squashes the view. 
  // self.pickerControllerHolderView.transform = CGAffineTransformMakeScale(1, 0.5);
  </code></pre>