title: Setting Image picker sourceType so that only pictures and no video can be selected
body: <p>I want users to be able to use a camera but not have the option of taking a video.  As it stands, both photo and video controls show in the bottom left corner of the view when camera is launched by user.  Below are my launchCamera and imagePickerController methods.</p>
  
  <pre><code>- (void)imagePickerController:(UIImagePickerController *)picker didFinishPickingMediaWithInfo:(NSDictionary *)info {
  
  self.image = [info objectForKey:UIImagePickerControllerOriginalImage];
  self.challengePic.image = self.image;
  if (self.imagePicker.sourceType == UIImagePickerControllerSourceTypeCamera) {
      UIImageWriteToSavedPhotosAlbum(self.image, nil, nil, nil);
      self.challengePic.image = self.image;
  
      }
  
  [self dismissViewControllerAnimated:YES completion:nil];
  }
  
  
  - (IBAction)launchCamera:(id)sender {
  if (self.image == nil &amp;&amp; [self.videoFilePath length] == 0) {
      self.imagePicker = [[UIImagePickerController alloc] init];
      self.imagePicker.delegate = self;
      self.imagePicker.allowsEditing = NO;
  
      if ([UIImagePickerController isSourceTypeAvailable:UIImagePickerControllerSourceTypeCamera]) {
          self.imagePicker.sourceType = UIImagePickerControllerSourceTypeCamera;
      }
      else {
          self.imagePicker.sourceType = UIImagePickerControllerSourceTypePhotoLibrary;
      }
      self.imagePicker.mediaTypes = [UIImagePickerController availableMediaTypesForSourceType:self.imagePicker.sourceType];
  
      [self presentViewController:self.imagePicker animated:NO completion:nil];
  }
  
  }
  
  - (IBAction)launchAlbum:(id)sender {
  if (self.image == nil &amp;&amp; [self.videoFilePath length] == 0) {
      self.imagePicker = [[UIImagePickerController alloc] init];
      self.imagePicker.delegate = self;
      self.imagePicker.allowsEditing = NO;
  
      self.imagePicker.sourceType = UIImagePickerControllerSourceTypePhotoLibrary;
  
      self.imagePicker.mediaTypes = [UIImagePickerController availableMediaTypesForSourceType:self.imagePicker.sourceType];
  
      [self presentViewController:self.imagePicker animated:NO completion:nil];
  }
  
  }
  </code></pre>
  
  <p>Is there any way of setting the Image picker sourceType so that only pictures and no video can be selected?  Thanks in advance!</p>