Can a custom keyboard extension communicate with a satellite application at runtime?

Can a user keyboard interact with a satellite application at runtime? Can a user keyboard dynamically display content based on the states set in the companion app?

If so, what APIs / documentation are available for this relationship between the extension and the application?

-2
source share
1 answer

Here is a good paragraph from the documentation that can help you get started sharing data with your companion app: https://developer.apple.com/library/prerelease/ios/documentation/General/Conceptual/ExtensibilityPG/ExtensionScenarios.html#// apple_ref / doc / uid / TP40014214-CH21-SW6

I have work with today's extension and related application. They both use the same NSUserDefaults so that they can communicate in real time with each other. If NSUserDefaults is what you are looking for, there is a good tutorial here: http://www.glimsoft.com/06/28/ios-8-today-extension-tutorial/

+1
source

All Articles