更新核心数据(Update core data)

编程入门 行业动态 更新时间:2024-10-24 22:19:51
更新核心数据(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

更多推荐

本文发布于:2023-08-05 18:50:00,感谢您对本站的认可!
本文链接:https://www.elefans.com/category/jswz/34/1435721.html
版权声明:本站内容均来自互联网,仅供演示用,请勿用于商业和其他非法用途。如果侵犯了您的权益请与我们联系,我们将在24小时内删除。
本文标签:核心   数据   Update   core   data

发布评论

评论列表 (有 0 条评论)
草根站长

>www.elefans.com

编程频道|电子爱好者 - 技术资讯及电子产品介绍!