Reputation: 151
I'm currently developing an collage application for iPhone and I've now at the point of saving the image and I therefore need the correct path so that the images shows in your image library.
Does anyone know the address to the path?
BR, drisse
Upvotes: 0
Views: 122
Reputation: 75058
You can't write to that directly, you have to have an in-memory UIImage and then call the method to send it to the library using UIImageWriteToSavedPhotosAlbum() (a normal function defined in UIKit).
You can pass arguments to be notified when the save completes (which you might want to put up an indicator for) but you don't have to use them (pass in nil).
Upvotes: 5