Become a MacRumors Supporter for $50/year with no ads, ability to filter front page stories, and private forums.

uaecasher

macrumors 65816
Original poster
Jan 29, 2009
1,289
0
Stillwater, OK
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.
 
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.

You should be able to access a photo library from your simulator, but the camera will be disabled.
 
Register on MacRumors! This sidebar will go away, and you'll see fewer ads.