开发者

How to refresh a local XML File?

开发者 https://www.devze.com 2023-04-03 02:08 出处:网络
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.

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

精彩评论

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