UIImagePicker source type help

Discussion in 'iOS Programming' started by uaecasher, Nov 27, 2009.

  1. macrumors 65816

    uaecasher

    Joined:
    Jan 29, 2009
    Location:
    Stillwater, OK
    #1
    hello, I'm learning how to upload photos in the iPhone sdk and I saw some apps like facebook allow users select a photo from a library or take a new one from the iPhone's camera.

    wondering how can I do this? should I use:

    Code:
    
    UIImagePickerControllerSourceTypePhotoLibrary
    
    
    I can't test it because I only have the simulator right now.
     
  2. macrumors 6502

    Joined:
    Oct 31, 2007
    Location:
    San José
    #2
    You should be able to access a photo library from your simulator, but the camera will be disabled.
     

Share This Page