View Full Version : saving image
Dec 31, 2008, 01:48 PM
I have an imageview with two smaller image views on top of it. I have a connection to the big image view and an IBAction to save the big image, with the smaller images on it. How do i save an image? Thanks,
Jan 5, 2009, 12:00 PM
Try UIImageWriteToSavedPhotosAlbum (http://developer.apple.com/iphone/library/documentation/UIKit/Reference/UIKitFunctionReference/Reference/reference.html#//apple_ref/c/func/UIImageWriteToSavedPhotosAlbum).
Jan 5, 2009, 04:03 PM
thnxs for the reply, I got saving images working but I have another question.
I have an image of a hat on a uiimageview in the middle of the page. The user imports or snaps a photo and then imports that photo on a uiimageview below the hat imageview. The user then can move the imported pic to the users likings. How would i save both these images in the way they are, so users can look at a pic of a person with the hat on them? thanks,
Jan 6, 2009, 04:25 AM
Try UIImagePickerController.html (https://developer.apple.com/iphone/library/documentation/UIKit/Reference/UIImagePickerController_Class/UIImagePickerController/UIImagePickerController.html).
(You might find it instructive to browse the UIKit Framework Reference (https://developer.apple.com/iphone/library/documentation/UIKit/Reference/UIKit_Framework/index.html).)