Reputation: 301
I'm using the Twitter framework of iOS 5 but the addimage
method allows only project images...
How can I pick an image from the library or the camera?
Upvotes: 1
Views: 1675
Reputation: 9382
Davide, You would need to use UIImagePickerController to make the user select a photo from his Photo Library and then use the resulted UIImage as a parameter for addImage
.
There are many tutorials out there about this, Here is one of them: http://iosdevelopertips.com/camera/camera-application-to-take-pictures-and-save-images-to-photo-album.html
Upvotes: 2