将应用程序数据保存到IPad / iPhone [英] Saving application data to IPad/iPhone

查看:227
本文介绍了将应用程序数据保存到IPad / iPhone的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

Ive制作了一个企业Universal(iphone / ipad)应用程序,使用odata sdk与sql server数据库通信。所有伟大的,工作正常。问题(不是真的是一个问题,但有点限制),如果你想检索或更新你必须连接到互联网的信息,它是一个连接的解决方案。

Ive made an enterprise Universal (iphone/ipad) app that uses the odata sdk to talk to an sql server database. All great, works fine. The issue (well not really an issue, but somewhat of limitation) is that it is a connected solution, if you want to retrieve or update information you have to be connected to the internet.

我现在正尝试添加断开的功能。我的问题是,是否有一种方法来节省大量(相对大量)的序列化数据到实际设备。我不想将它存储在应用程序中,因为

Im now trying to add disconnected functionality. My question is, is there a way of saving large (relatively large) amounts of serialized data to the actual device. I dont want to store it in the application because


  1. 它会在应用程序中快速构建内存

  2. 如果应用崩溃,他们将丢失数据

有关如何处理此问题的任何想法?

Any ideas on how I can go about this?

推荐答案

使用Core Data ... Apple有非常好的文档,请查看!

Use Core Data... Apple has very good documentation, check it out!

这篇关于将应用程序数据保存到IPad / iPhone的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆