I am writing iOS 8 keyboard app. This will be simple english keyboard app. I would like to user to able to set keyboard height within keyboard. But, I don't want to connect user setting with containing app. Because I definitely want user to ensure its safe so I am not plan to ask open access.
this image and it looks like if extension DOES NOT NEED to communicate with container app, it looks like you can save and read setting.
[[NSUserDefaults standardUserDefaults] setFloat:200 forKey:@"portraitHeight"];
[[NSUserDefaults standardUserDefaults] synchronize];
this worked within execution of container app, but if I load keyboard from springboard search, it crashes and doesn't show keyboard.
This ask about read data from containing appBut my question is if I can save/read only within extension.