开发者

Will the app get rejected if you write image to /private/var/mobile/Media/DCIM/100APPLE/ directly? [closed]

Closed. This question is opinion-based. It is not currently accepting answers.

Want to improve this question? Update the question so it can be answered with facts and citations by editing this post.

Closed 3 years ago.

Improve this question

Instead of using UIImageWirteToSavedAlbum, is it safe to write your开发者_Python百科 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?)

Edit: 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").

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜