TLDR: Is it possible to send realtime messages or notifications between iOS App and it\'s Extension?
I\'m writing an iOS App with an extension
For an alternative means of doing general-purpose bidirectional communication between host app and app extension, try MMWormhole:
http://www.mutualmobile.com/posts/mmwormhole https://github.com/mutualmobile/MMWormhole
It’s a fairly lightweight wrapper around CFNotificationCenter, and uses “Darwin” notifications to do interprocess communication (IPC).
It passes payloads back & forth using the apps’ shared container, and encapsulates even having to create the file(s) themselves.
The class (and the sample app in the repo) seem to work well, and are quite responsive.
I hope this also helps.