有什么方法可以在iPhone上以编程方式将图像保存为default.png吗? [英] Is there any way to save an image an default.png programmatically on the iphone?

查看:149
本文介绍了有什么方法可以在iPhone上以编程方式将图像保存为default.png吗?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我为iPhone编写了一个应用程序,我希望将其中的图像保存为default.png,以便下次调用.这可能吗?似乎沙盒不允许您覆盖其本地文件系统中的任何内容.

I writing an app for the iphone and I would like to save an image from it as the default.png for the next invocation. Is this possible? It seems as if the sandbox doesn't allow you to overwrite anything in its local filesystem.

推荐答案

不,您不能.过去可能使Default.png成为您的Documents文件夹中的符号链接,然后重写它指向的位置,但是功能在3.0中被删除.您应该提交文件与苹果公司一起解释您的需求的错误.

No, you can't. It used to be possible to make Default.png a symbolic link into your Documents folder, then to rewrite the location it pointed to, but functionality was removed in 3.0. You should file a bug with Apple explaining your needs.

这篇关于有什么方法可以在iPhone上以编程方式将图像保存为default.png吗?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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