如果您将图像写入/ private / var / mobile / Media / DCIM / 100APPLE /直接,应用程序是否会被拒绝? [英] Will the app get rejected if you write image to /private/var/mobile/Media/DCIM/100APPLE/ directly?

查看:1255
本文介绍了如果您将图像写入/ private / var / mobile / Media / DCIM / 100APPLE /直接,应用程序是否会被拒绝?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

而不是使用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屋!

查看全文
相关文章
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆