I have this code in appDelegate for an app game that's on App Store recently -
- (BOOL)application:(UIApplication *)application shouldSaveSecureApplicationState:(NSCoder *)coder {
return YES;
}
- (BOOL)application:(UIApplication *)application shouldRestoreSecureApplicationState:(NSCoder *)coder {
return YES;
}
Is that code ok as it is?
I understand that code preserves game states between sessions. But will it also preserve the game state when app is updated with a new version or new iOS?
Or is there some other code for that?
Thanks for your help