1

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

Andrew
  • 15,357
  • 6
  • 66
  • 101
zeiteisen
  • 7,078
  • 5
  • 50
  • 68

1 Answers1

3

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.

nurnachman
  • 4,468
  • 2
  • 37
  • 40
  • 1
    Still not fixed in 8.1.2 it seems. :( – Malakim Dec 17 '14 at 19:53
  • My solution was to create in-app settings – nurnachman Dec 17 '14 at 19:54
  • Yes, but I really don't want to require full access just for providing settings. That's just lame. Oh well, guess I'll have to for now anyway. – Malakim Dec 17 '14 at 20:06
  • 1
    You can display settings inside the keyboard itself, as you can set the keyboard height in iOS8 – nurnachman Dec 17 '14 at 20:08
  • Good point - kind of like Swype does. I'll go for the container app solution first. Seems simpler to implement, and it'll work during development at least. Maybe Apple will get it fixed before I'm ready for release... :) – Malakim Dec 17 '14 at 20:14