iPhone设备上的相册路径是什么?

发布于 2024-12-28 03:18:33 字数 145 浏览 5 评论 0原文

我试图将 PNG 文件保存到 iPhone 设备上的相册文件夹中,扩展名为 .png,以便保持透明度。

我的问题是: UIImageWriteToSavedPhotosAlbum 函数使用的相册路径是什么? 我正在使用数据写入文件方法..

谢谢

I was trying to save a PNG file to photos albums folder on the iPhone device with a .png extension so that the transparency remains..

My question is:
What is the path of photos album UIImageWriteToSavedPhotosAlbum function is using?
I am using data write to file method..

Thanks

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

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

发布评论

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

评论(2

节枝 2025-01-04 03:18:33

您无法直接访问文件系统上的资产(假设这不是越狱问题)。除了 UIImageWriteToSavedPhotosAlbum 之外,资产库框架 如果您的目标是较新版本的 iOS,则提供对照片库的访问。

You can't access assets on the file system directly (assuming this isn't a jailbreak question). In addition to UIImageWriteToSavedPhotosAlbum, the Assets Library Framework provides access to the photo library if you're targeting newer versions of iOS.

想你的星星会说话 2025-01-04 03:18:33

根/私有/var/mobile/Media/DCMI/100APPLE

Root/private/var/mobile/Media/DCMI/100APPLE

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