I am new in iPhone and in learning phase now a days. Actually i want to implement that i read images stored in my iPhone PHOTO Gallery and then display it onto my application.
I have searched in many Search Engines but could not find any thing. You all are professionals over here. Please guide me thrrough some code or some tutorial.
Thanks alot
Edit
Also check out this question/answer and the method that is used to get the image from
uiimagepickercontroller
as the method that i have mentioned earlier is deprecated.didFinishPickingMediaWithInfo return nil photo
check out the documentation http://developer.apple.com/library/ios/#documentation/uikit/reference/UIImagePickerController_Class/UIImagePickerController/UIImagePickerController.html and check out this link
http://iphone.zcentric.com/2008/08/28/using-a-uiimagepickercontroller/
It has sample examples about the same.
You can use these methods to get the image in you UIImageView object
You can access the iPhone image library like this and select the image from there
And then implement the delegate method to get the image...
Hope this will help you.......... Cheers......
It works for me in the following way using iOS SDK 6.1 with Xcode 4.6.
First, make an
UIImagePickerControllerDelegate
protocol like that in your viewcontroller.h file:Then implement the following methods. I have a button named
Choose
: