[Mono-bugs] [Bug 650406] New: UIImagePickerController.ReferenceUrl is an empty string

bugzilla_noreply at novell.com bugzilla_noreply at novell.com
Sun Oct 31 16:35:59 EDT 2010


https://bugzilla.novell.com/show_bug.cgi?id=650406

https://bugzilla.novell.com/show_bug.cgi?id=650406#c0


           Summary: UIImagePickerController.ReferenceUrl is an empty
                    string
    Classification: Mono
           Product: MonoTouch
           Version: unspecified
          Platform: Other
        OS/Version: Other
            Status: NEW
          Severity: Critical
          Priority: P5 - None
         Component: Class Libraries
        AssignedTo: mono-bugs at lists.ximian.com
        ReportedBy: bryancostanich at hotmail.com
         QAContact: mono-bugs at lists.ximian.com
          Found By: Customer
           Blocker: Yes


Description of Problem:
UIImagePickerController.ReferenceUrl is an empty string, but it should actually
be a valid key so you can use it this way in a UIImagePickerControllerDelegate:

    //---- get common info (shared between images and video)
    NSUrl referenceURL = info[UIImagePickerController.ReferenceUrl] as NSUrl;
    if(referenceURL != null)
    {
        //----
        Console.WriteLine(referenceURL.ToString());
    }

if you do:
Console.Write("Reference URL: [" + UIImagePickerController.ReferenceUrl + "]");

it will write out the empty string. 

also, it looks like the other key constants on that class are also empty
strings.
UIImagePickerController.OriginalImage
UIImagePickerController.EditedImage
UIImagePickerController.MediaMetadata

etc.

-- 
Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.
You are the assignee for the bug.


More information about the mono-bugs mailing list