How to migrate core data by deleting old one on App Update
问题 Hi I'm going to update my iOS app in appstore and this update contains database change so now how to migrate my existing core data by deleting old database of existing version on App update? I have referred Core Data Migration tutorial Core Data Migration Post Unfortunately of no use. Any help is appreciated in advance 回答1: Smith, I presume you have done some schema changes, in the xcdatamodel Always, Add a new Model Version (Select name.xcdatamodeld then Editor->Add model Version) before