开发者

Download file from server plist

开发者 https://www.devze.com 2022-12-28 18:13 出处:网络
Hi all what i want to do is to download plist from server http:// and i\'d like to know how and where it is stored.

Hi all what i want to do is to download plist from server http:// and i'd like to know how and where it is stored.

Can the iphone compare date from 2 plist files ? ?

thanks to all, if you do not want to post code or explain please link it. !Because i'm really stuck and need开发者_运维技巧 help

thanks


If you're downloading the file, you can use the Last-Modified header in the (e.g.) NSHTTPURLResponse object to determine if the file has been modified on the server since it was last modified locally. Use the -compare: method on two NSDate objects (one parsed from the header, one obtained from the local file system) to determine which is later.

0

精彩评论

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

关注公众号