PDA

View Full Version : UIImagePicker source type help




uaecasher
Nov 27, 2009, 02:14 AM
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:



UIImagePickerControllerSourceTypePhotoLibrary



I can't test it because I only have the simulator right now.



North Bronson
Nov 28, 2009, 02:41 PM
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:



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.