【问题标题】:How can I save the image to the iPhone photo album? [duplicate]如何将图像保存到 iPhone 相册? [复制]
【发布时间】:2011-05-25 19:28:47
【问题描述】:

可能重复:
How to save picture to iPhone photo library?

我想了解 iPhone 相册以及如何使用按钮单击事件将特定图像保存到 iPhone 相册。

在我看来,该图像视图中只有一个图像视图,其中有一个图像。我想以编程方式将该特定图像保存到 iphone 相册中,我该怎么做?

【问题讨论】:

    标签: iphone imageview


    【解决方案1】:

    查看this previously asked question 的答案。请参阅UIImageWriteToSavedPhotosAlbum 的参考。

    【讨论】:

    • UIImageWriteToSavedPhotosAlbum(appDelegate.PreviewimageView.image, self, @selector(image:didFinishSavingWithError:contextInfo:), nil);虽然我像上面一样给出照片已存储在相册中但应用程序被终止...我应该怎么做才能解决这个问题..
    • @Mano Ammu:从调试控制台发布确切的错误消息。 self 上真的有 image:didFinishSavingWithError:contextInfo: 方法吗?
    猜你喜欢
    • 1970-01-01
    • 2010-11-04
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 2011-09-27
    • 2014-08-28
    • 1970-01-01
    • 1970-01-01
    相关资源
    最近更新 更多