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"
精彩评论