title: How to disable video capture in UIImagePickerController
body: <p>I'm working on an app that allows image capture, but not video capture, but I can't figure out how to remove the photo/video toggle from a UIImagePickerView. This is the code I'm working with, taken from Apple's documentation:</p>
  
  <pre><code>UIImagePickerController *cameraUI = [[UIImagePickerController alloc] init];
  cameraUI.sourceType = UIImagePickerControllerSourceTypeCamera;
  
  // Displays a control that allows the user to choose picture or
  // movie capture, if both are available:
  cameraUI.mediaTypes = [UIImagePickerController availableMediaTypesForSourceType: UIImagePickerControllerSourceTypeCamera];
  
  // Hides the controls for moving &amp; scaling pictures, or for
  // trimming movies. To instead show the controls, use YES.
  cameraUI.allowsEditing = NO;
  
  cameraUI.delegate = self;
  
  [self presentModalViewController:cameraUI animated:YES];
  </code></pre>
  
  <p>I'd like to keep all the camera controls EXCEPT the photo/video switch. Thanks!</p>