更新iphone应用程序行为 [英] update iphone application behaviour

查看:87
本文介绍了更新iphone应用程序行为的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我为iPhone设备(SQlite数据库)开发了一个数据库相关应用程序。现在我想用更多的功能更新该应用程序(我想为同一个应用程序推送更新)。

I developed one database related application for iPhone device(SQlite database). Now i want to update that application with more features(I want to push an update for the same application).

这里我更关心用户数据,更新所以我的问题是,如果我将推一个更新,然后更新将清除所有的数据存储在.sqlite文件?

Here i am more concerned about the user data while pushing the update so my question is if i will push an update then does the update will clear all the data that is stored in .sqlite file?

如果这是case,那么如何推送应用程序更新而不修改数据库文件中的先前数据?

if this is case then how to push application update without modifying the previous data in the database file?

请建议。

$ b
吉姆。

Thanks,
Jim.

推荐答案

AFAIK的文档目录在更新时保持不变。如果您将数据库存储在文档目录中,那么您应该没问题。如果它在应用程序的包中,我不认为有很多你可以保存它。

AFAIK the documents directory is left in-tact on an update. If you stored the database in the documents directory then you should be okay. If it's in the app's bundle, I don't think there is much you can do save it.

这篇关于更新iphone应用程序行为的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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