Reputation: 363
I wonder if there is any kind of good documentation or tutorial for what to consider when updating an iOS app to a new version? I think especially of the following questions:
Upvotes: 0
Views: 58
Reputation: 1099
When I do my updates I usually:
for specific update code I simply do in appdelegate - didfinishlaunchwithoptions:
if(![[NSUserDefaults standardUserDefaults] objectForKey:@"updateV31"]) { [[NSUserDefaults standardUserDefaults] setBool:YES forKey:@"updateV31"]; [[NSUserDefaults standardUserDefaults] synchronize]; //your code here }
for core data, you can use the lightweit migration method, I didn't have issues so far after updates
Upvotes: 1