在启动应用程序时更新 plist 文件

发布于 2024-09-03 18:36:06 字数 147 浏览 3 评论 0原文

我有一个从资源文件夹中读取 plist 文件的应用程序。我花了大约 5 个小时寻找在我的 freewebs 帐户上托管我的 plist 文件的解决方案,并让应用程序在启动时更新 plist 文件。任何人都可以帮助我吗? 如果您要求,我会发布我的代码。我只是不确定你现在需要看什么。

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 the 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.

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(2

执着的年纪 2024-09-10 18:36:07

有一个适用于 iPhone 的简单 FTP 示例,位于苹果开发者网站可能会有所帮助。

CFFTPStreamRef 参考,其中也其他指南的链接。

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.

空城缀染半城烟沙 2024-09-10 18:36:07

您可能已经回答了这个问题,但我建议您看一下 NSURLConnection 在应用加载时以异步方式下载数据。然后,您可以非常轻松地将检索到的文件下载到本地 plist 中,并将其保存到您的文档文件夹中。

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.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文