更新核心数据(Update core data)
我在包含coredata数据库的appstore中重新启动了版本1,在版本2中我向数据库添加了新字段如何动态修改旧数据库,同时保留数据
我已经没有版本化,也没有旧版本,应用程序将在客户ipad上崩溃
任何建议请
I relased version 1 in appstore that contain coredata database , in version 2 I added new fields to the database how to modify dynamically the old database , with keeping the data
I already did without versioning and don't have the old version , and the application will crash on the customer ipad
any suggestion please
最满意答案
看一下核心数据模型版本控制和数据迁移编程指南
take a look at the Core Data Model Versioning and Data Migration Programming Guide
更多推荐
发布评论