开发者

How to refresh a local XML File?

Ia开发者_开发问答m developing an iPhone Application which is parsing a local XML File. How can I refresh (overwrite) this XML on the iPhone, if my XML File on the Webserver has been changed.

The XML File is really small (30 KB).

Thank you in advance


You’ll need to copy the XML file to the user home folder and then update it there.


If it works like Flash, then appending a random variable, or a timestamp, to the end of the path to the XML file might make iOS refresh it. As in "[path to file]/myXMLfile.xml?x=123456"

0

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜