Will app still be able to access object saved by [NSUserDefaults standardUserDefaults] after app is Transferring to another account

Our game is a offline game and some game information is save locally by code like NSUserDefaults *defaults = [NSUserDefaults standardUserDefaults]; [defaults setObject:@"John Doe" forKey:@"username"]; [defaults setInteger:25 forKey:@"age"]; [defaults synchronize];

I wonder if app can still be able to reach those information after it is Transferring to another development account. Since the team id is changed and information in key chain can not be reached. If those saved by [NSUserDefaults standardUserDefaults] also blocked. Players will feel bad to lose Game Progress。

And anyone how to simulate test in two different team id with same bundle id, since one account only one team id and the bundle id belong to that one.

I wonder if app can still be able to reach those information after it is Transferring to another development account.

Yes. More specifically, NSUserDefaults actually stores it's data using a file inside your apps data container and that file will still be accessible after app transfer, just like your apps other data file.

__
Kevin Elliott
DTS Engineer, CoreOS/Hardware

Will app still be able to access object saved by [NSUserDefaults standardUserDefaults] after app is Transferring to another account
 
 
Q