开发者

updating plist file on launch of application

开发者 https://www.devze.com 2023-01-01 09:50 出处:网络
I have an app that reads in a plist file from the resources folder. I have looked for about 5 hours for a solution to hosting my plist file on my freewebs acount and have the application update th开发

I have an app that reads in a plist file from the resources folder. I have looked for about 5 hours for a solution to hosting my plist file on my freewebs acount and have the application update th开发者_如何学编程e plist file on launch. Can anyone help me please. I will post my code if you ask. I am just not sure what you need to see now.


There is a Simple FTP Sample for iPhone, on the apple developer site that may help.

and

CFFTPStreamRef reference, which also links to other guides.


You may already have this question answered but I would recommend you take a look at NSURLConnection to download the data in a async fashion when your app loads. You can then very easily download that retrieved file into a local plist and save it to your documents folder.

0

精彩评论

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