简体   繁体   English

基于核心数据的iPhone应用程序更新

[英]iPhone app updating based on Core Data

I developed one iPhone application with the data which is available in Core Data model. 我使用Core Data模型中可用的数据开发了一个iPhone应用程序。 I am getting that data in iPhone successfully but when I perform any updates in my data model like adding entities, updates are not reflected in the iPhone application, may I know the reason for this. 我已经成功地在iPhone中获取了该数据,但是当我在数据模型中执行任何更新(例如添加实体)时,更新未反映在iPhone应用程序中,也许我知道原因。

Please let me know if anyone having a solution for this. 请让我知道是否有人对此有解决方案。

Without code and details is difficult to understand what is going on. 没有代码和细节,很难理解发生了什么。 Furthermore, what do you mean 此外,你的意思是

may I know the reason for this 我可以知道原因吗

?

Have you tried to save the context your are working on? 您是否尝试保存正在处理的上下文?

[context save:&error];

Hope that helps. 希望能有所帮助。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM