需要 iphone SDK 的一些代码(将应用程序内图片保存到您的照片中)

发布于 2024-09-28 20:38:54 字数 109 浏览 0 评论 0原文

我正在为苹果应用程序商店开发我的第一个应用程序,我需要代码才能查看图片并将其保存到照片中,以及代码所在的位置,所以一些关于如何保存图片的教程图片到照片应用程序,我正在使用最新版本的 iphone SDK。

Im working on my first app for the apple app store and I am in need of the code to be able to see a picture and save it to the photos, also where the code goes, so some what of a tutorial of how to save a picture to the photos app, I am working with the latest version of the iphone SDK.

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(2

九歌凝 2024-10-05 20:38:54
UIImageWriteToSavedPhotosAlbum(image, self, (SEL)@selector(image:didFinishSavingWithError:contextInfo:), nil);

这是示例

UIImageWriteToSavedPhotosAlbum(image, self, (SEL)@selector(image:didFinishSavingWithError:contextInfo:), nil);

Here's an example.

烏雲後面有陽光 2024-10-05 20:38:54

参考 Erica Sadun 的《iPhone 食谱》

Referring "iPhone cookbook" by Erica Sadun

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文