title: What to use in place of a deprecated UIImagePickerControllerDelegate method?
body: <p>I followed a great tutorial (<a href="http://iphone.zcentric.com/2008/08/28/using-a-uiimagepickercontroller/" rel="nofollow noreferrer">http://iphone.zcentric.com/2008/08/28/using-a-uiimagepickercontroller/</a>) on using a UIImagePickerController to get images from the Photo Album or Camera on the iPhone. The problem is, the tutorial is a bit dated and documentation cites a method used by the delegate as being depreciated since 3.0. The problem is, the documentation failed to provide clues as to what to use in place? The deprecated method is: </p>
  
  <pre><code>– imagePickerController:didFinishPickingImage:editingInfo:
  </code></pre>
  
  <p>The above method is used as follows:</p>
  
  <pre><code>- (void) imagePickerController:(UIImagePickerController*)picker didFinishPickingImage:(UIImage*)img editingInfo:(NSDictionary*)editInfo
  {
  
      image.image = img;
      [[picker parentViewController] dismissModalViewControllerAnimated:YES];
  
  
  }
  </code></pre>
  
  <p>QUESTION: <strong>What is currently used in place of the deprecated method?</strong></p>