There are a number of similar questions so this one is carefully scoped not to be a duplicate.
Preconditions
Goals
So the question is "Can it be done?"
What follows are some notes on "Already tried" - different approaches that have been considered.
Well understood attack vectors
Things that probably won't work
Possible ideas
Apple has carefully avoided exposing this functionality. Has anyone figured out a way to do it anyway?
Beyond the sandbox: using app groups to communicate between iOS or macOS apps. Apple's “app group” technology allows a collection of sandboxed macOS or iOS apps from the same development team to all communicate with each other, coordinate functionality, share resources, and/or minimize redundancies.
With an app already placed on your home screens, go to the App Library, locate the same application and long-press to drag it. You can then place it onto a home screen and your existing icon will not be removed. iOS 15 also enables drag-and-drop for apps in Spotlight search.
It is based on the share_target definition in the app's Manifest file. This way the user is able to send data to the specified endpoint in the application from any other application (Web or native) installed in the system.
One more idea: start local web server in one apps on iPhone and use it for communications between apps.
Here is implementation of such server
And here is usage example
I haven't tried this solution by myself but saw apps that use this idea for communications.
Also, I believe that Apple intentionally not implement any easy way to communicate between apps. Now you can make you app like it is the only one application on the whole device with little exceptions like memory usage and etc. As soon as here will be some easy way to communicate between apps we will found ourself in much more complicated environment. We will need to consider much more limitations, rules and possibilities as programmers.
But I also would like to have some way to communicate between apps, many great ideas can be implemented with this tool.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With