如何在推文中添加照片库(或照相机)的图像?
答
Davide,您需要使用UIImagePickerController以使用户从他的照片库中选择一张照片,然后使用生成的UIImage作为addImage
的参数。
有很多教程在那里这件事,这是其中之一: http://iosdevelopertips.com/camera/camera-application-to-take-pictures-and-save-images-to-photo-album.html