如果直接将图像写入/private/var/mobile/Media/DCIM/100APPLE/应用程序会被拒绝吗?

编程入门 行业动态 更新时间:2024-10-25 02:29:39
本文介绍了如果直接将图像写入/private/var/mobile/Media/DCIM/100APPLE/应用程序会被拒绝吗?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

限时送ChatGPT账号..

不使用 UIImageWirteToSavedAlbum,直接将图像写入/private/var/mobile/Media/DCIM/100APPLE/是否安全?

Instead of using UIImageWirteToSavedAlbum, is it safe to write your image to /private/var/mobile/Media/DCIM/100APPLE/ directly?

推荐答案

完全没有咨询实际的开发者合同,我很放心地说依靠它,你会被拒绝".

Without consulting the actual developer contracts at all, I feel safe in saying "Count on it, you will get rejected".

(此外,考虑到沙箱,这甚至可能吗?)

(Besides, is this even possible, given the sandboxing?)

iPhone 应用程序编程指南说出于安全考虑,您的应用程序被放置在它自己的目录中,并且仅限于读取和写入该目录中的文件."如果实际情况并非如此(即您可以写入 /private/var/... 无论如何,我很确定它仍然是禁止的").

The iPhone Application Programming Guide says that "for security purposes, your application is placed in its own directory and is limited to reading and writing files in that directory only." If that isn't actually the case (i.e. you can write to /private/var/... anyway, I'm pretty sure it's still "forbidden").

这篇关于如果直接将图像写入/private/var/mobile/Media/DCIM/100APPLE/应用程序会被拒绝吗?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

更多推荐

[db:关键词]

本文发布于:2023-04-17 07:39:53,感谢您对本站的认可!
本文链接:https://www.elefans.com/category/jswz/34/908647.html
版权声明:本站内容均来自互联网,仅供演示用,请勿用于商业和其他非法用途。如果侵犯了您的权益请与我们联系,我们将在24小时内删除。
本文标签:应用程序   被拒   图像   var   private

发布评论

评论列表 (有 0 条评论)
草根站长

>www.elefans.com

编程频道|电子爱好者 - 技术资讯及电子产品介绍!