Is anyone seeing this as well?
If I run a simple app (just create a Single View Application) in an iPhone 6s Simulator (10), NSUserDefaults won't work.
Example code:
NSUserDefaults* userDefaults = [NSUserDefaults standardUserDefaults];
NSString* testString = @"Test";
NSData* testData = [testString dataUsingEncoding:NSUTF8StringEncoding];
[userDefaults setObject:testData forKey:@"test"];
[userDefaults synchronize];
NSData* retrievedData = [userDefaults objectForKey:@"test"];
At the end retrievedData is nil
I am inclined to create a radar for this, but maybe I am doing something wrong... ?