Search code examples
iphonephotophotolibrary

Get Photo from iPhone Photo library


I have create an iPhone application. I have a button in a view. In the button click i want to get the photo from iPhone photo library. And set this selected photo in the button. How can i do that. thanks in advance.


Solution

  • you can follow this tutorial to get image from phone galley or from camera. http://www.icodeblog.com/2009/07/28/getting-images-from-the-iphone-photo-library-or-camera-using-uiimagepickercontroller/