问题
I added a Settings.bundle to the keyboard target. But when I add the keyboard in the settings, the Items from the Settings.bundle doesn't show up. I had it working once. But this was in Beta 4.
-- best regards
回答1:
In iOS8.0.2, the settings appear in the General->Keyboard section of the iOS settings app. However, a bug in iOS prevents from reading these values.
The solution would be to create a settings screen in your containing app, and read/write the settings to the Shared Container, using [[NSUserDefaults alloc] initWithSuiteName:@"group.your.group.name"]
Note, though, that this solution requires the user to allow full access in the keyboard settings, which is currently not a very user-friendly setting.
来源:https://stackoverflow.com/questions/26061905/ios8-custom-keyboard-settings-bundle-does-not-show-up