Instead of using UIImageWirteToSavedAlbum, is it safe to write your image to /private/var/mobile/Media/DCIM/100APPLE/ directly?
可以将文章内容翻译成中文,广告屏蔽插件可能会导致该功能失效(如失效,请关闭广告屏蔽插件后再试):
问题:
回答1:
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").