1

我正在制作一个ios应用程序。我需要将客户网站中的“帮助、常见问题和合同”部分添加到应用程序中。这些数据需要离线访问,所以我不能使用加载这些部分的 url 的 UIWebView。这些部分包含大量数据,我认为使用 Core Data 不是一个好主意。

我认为最好的解决方案是将这些部分添加到应用程序包(作为 html 文件)并使用 UIWebView 显示它们?

我不知道有没有更有效的方法,我做得很糟糕吗?

4

1 回答 1

1

Core Data is really useful when you have relationships between different Entities and you need to query the data like in "give me all the invoices from this date to that date".

In your case, you use static content to display the help screen so I think HTML files or text files in the main bundle is the best option.

于 2013-08-30T01:02:58.770 回答