I have to save Boolean
Value to NSUserDefault
in my App with custom keyboard extension
and share with App Group.
My Code is worked in iOS 8
Beta1.
self.defaults = [NSUserDefaults standardUserDefaults];
if([self.defaults boolForKey:@"BlackKey"])
{
NSLog(@"Black");
}
else
{
NSLog(@"White");
}
But Not in iOS 8 Beta3. When i retrieve Boolean
value from NSUserDefault
, it's return nothing and i can't load from custom keyboard extension.
I have also tried with initWithSuiteName
in NSUserDefault
. Am i only one for that problem or bugs of iOS 8 Beta3?