title: UiImagePickerController takePicture issues
body: <p>I am having some issues creating my own custom "Take Picture" button. Basically, when I remove the default controls, the camera no longer does a shutter animation or goes through the editing process, just goes straight to the delegate method.</p>
  
  <p>So, here's some code. At first I was using the default layout, like so:</p>
  
  <p>(by the way, I've removed my if statements for determining hardware availability - they're irrelevant.)</p>
  
  <pre><code>UIImagePickerController *picker = [[UIImagePickerController alloc] init];
  
  picker.delegate = self;
  picker.allowsEditing = YES;
  
  
  picker.sourceType = UIImagePickerControllerSourceTypeCamera;
  picker.showsCameraControls = YES;
  picker.cameraCaptureMode = UIImagePickerControllerCameraCaptureModePhoto;     
  
  [self presentModalViewController:picker animated:YES];
  </code></pre>
  
  <p>With this code, when I press the default "take photo" button, the shutter animation is fired, and the "Move and Scale" view is displayed. Upon pressing "choose", the delegate gets called, and I am able to access the editing result via <code>info</code>.</p>
  
  <p>So here's my new initialization code with a custom "take photo" button and nothing else; by the way, I'm initializing this UIImagePickerController in the viewDidAppear method of my ViewController</p>
  
  <pre><code>UIImagePickerController *picker = [[UIImagePickerController alloc] init];
  
  picker.delegate = self;
  picker.allowsEditing = YES;
  
  UIButton *shoot = [[UIButton alloc] initWithFrame:CGRectMake(110, 420, 100, 40)];
  [shoot setTitle:@"Shoot" forState:UIControlStateNormal];
  [shoot.titleLabel setTextColor:[UIColor whiteColor]];
  [shoot addTarget:picker action:@selector(takePicture) forControlEvents:UIControlEventTouchUpInside];
  
  picker.sourceType = UIImagePickerControllerSourceTypeCamera;
  [picker.cameraOverlayView addSubview:shoot];
  picker.showsCameraControls = NO;
  
  picker.cameraCaptureMode = UIImagePickerControllerCameraCaptureModePhoto;
  
  [self presentModalViewController:picker animated:YES];
  </code></pre>
  
  <p>In this example, when I hit my custom button, no animations are fired, no editing screen is shown, the delegate is called immediately.</p>
  
  <p>Funny thing is, if I just change the <code>showsCameraControls</code> property to <code>YES</code> in the above example, my custom button behaves exactly the way the default button behaves in my first example.</p>
  
  <p>Pretty stumped on this one, is there something I need to do in <code>didFinishPickingMediaWithInfo</code> to invoke the image editor, or am I just missing something in my initialization?</p>
  
  <p>I'm using Xcode 4.3 and iOS 5.1 (the app is targeted for 5.0)</p>
  
  <p>Any help greatly appreciated; Cheers!</p>