Bug 19125 - UIImagePicker documentation code is incorrect
Summary: UIImagePicker documentation code is incorrect
Status: RESOLVED INVALID
Alias: None
Product: Documentation
Classification: Xamarin
Component: MonoTouch ()
Version: unspecified
Hardware: PC Mac OS
: --- normal
Target Milestone: ---
Assignee: Kevin Mullins
URL:
Depends on:
Blocks:
 
Reported: 2014-04-17 10:53 UTC by René Ruppert
Modified: 2014-06-16 11:35 UTC (History)
3 users (show)

Tags:
Is this bug a regression?: ---
Last known good build:

Notice (2018-05-24): bugzilla.xamarin.com is now in read-only mode.

Please join us on Visual Studio Developer Community and in the Xamarin and Mono organizations on GitHub to continue tracking issues. Bugzilla will remain available for reference in read-only mode. We will continue to work on open Bugzilla bugs, copy them to the new locations as needed for follow-up, and add the new items under Related Links.

Our sincere thanks to everyone who has contributed on this bug tracker over the years. Thanks also for your understanding as we make these adjustments and improvements for the future.


Please create a new report on Developer Community or GitHub with your current version information, steps to reproduce, and relevant error messages or log files if you are hitting an issue that looks similar to this resolved bug and you do not yet see a matching new report.

Related Links:
Status:
RESOLVED INVALID

Description René Ruppert 2014-04-17 10:53:45 UTC
The code on this page:

http://docs.xamarin.com/recipes/ios/media/video_and_photos/choose_a_photo_from_the_gallery/

Accesses e.Info from the UIImagePickerImagePickedEventArgs. Such a property does not exist (anymore?).
Comment 1 René Ruppert 2014-04-17 10:55:36 UTC
At a second look: the API seems to have changed quite a bit. There is now:

FinishedPickingMedia
and
FinishedPickingImage
Comment 2 Kevin Mullins 2014-06-16 11:35:02 UTC
As it stands, the Recipe is currently correct and UIImagePickerImagePickedEventArgs *DOES* provide an e.Info property in it's returned results as of iOS version 3.0.

FinishedPickingImage was depreciated in iOS version 3.0 and should be replaced by the FinishedPickingMedia event.

No change to the recipe is required so this bug is being closed.