开发者

Can't find the path!

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


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).

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜