开发者

How to save data from version to version in iphone app development?

I'm having a problem for my app, a Chinese-English dictionary. I'm now adding a wordbook for it, and try to save the contents of it to a plist every time users exit the app. But now I find that as my app updates, all these data will get lost b开发者_如何学Cecause the path of the app is changed.

I'm now working for a company so the app will keep releasing new versions, and how can I save the data from version to version?


all these data will get lost because the path of the app is changed.

That would indicate you're writing to your application's directory structure. Don't do that.

The iPhone has a documents directory.

Document Directory discussion

0

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜