Possible Duplicate:
How do I access photos from my iphone app?
I'm building an app that allows the user to import a photo currently on their phone. I noticed several other apps have this option (WhatsApp, Facebook come to mind). Is there an example how this is done?
I've searched for an API for this...and not finding it. I did however, find this: https://github.com/andreyvit/SoloComponents-iOS
It allows to show the photos, but how do we get the photos currently on the phone?
You can find the full documentation here: http://developer.apple.com/library/ios/#documentation/uikit/reference/UIImagePickerController_Class/UIImagePickerController/UIImagePickerController.html As a bonus, you can also take pictures with this class.