Search code examples
iosios8ios-app-extension

In which process runs iOS app extension?


I am reading iOS app extension programming guide and here is written the following:

While an extension is running, it communicates directly only with the host app. There is no direct communication between a running extension and its containing app; typically, the containing app isn’t even running while its extension is running. In addition, the containing app and the host app don’t communicate at all.

So, extension can be run even it's app doesn't. So, this mean, that extension has it's own process or run it in host app process??


Solution

  • The host app, containing app, and app extension are all separate processes. The host app and app extension communicate via IPC that is controlled by iOS and exposed to the developer through the limited app extension APIs.