

Thanks in advance for anyone coming up with a clean solution. So they definitely have a callback or something to update their data.

BrightKey or CoolKey change the keyboard design from the containing app. I know it's possible since apps are doing it in the AppStore. The custom keyboard provides autocorrect that actually works. I was thinking of using an NSTimer in my keyboard extension, and check the NSUserDefaults every X ms. NSUserDefaultsStandard does not work at all for the keyboard extension. I tried NSUserDefaultsStandard, with NSUserDidChangeNotification, does not work. The problem is if in my containing app I update my NSUserDefaults, how can I know in my keyboard app that the NSUserDefaults have been updated. Before launching the keyboard in the containing app, I use that, and in the keyboard's viewdidLoad I check NSUserDefault and everything works fine. I'm trying to make an iOS keyboard extension but I'm having trouble syncing/updating the data from the containing app to the extension.Īs the doc states, I'm using NSUserDefaults *mySharedDefaults = setObject:theAccountName works perfectly.
