I know it’s possible to launch another app from within an app, using the openURL method. Also it is possible to check with canHandleURL if that app can open that URL.
But is there also a way to call an app and just let it do a calculation and then return the result?
Take a look here (example how to send a text to the called app)
in your case: let’s say you have 2 apps (app1 and app2)
and 2 url schemes (
protocolThatCallsApp1://andprotocolThatCallsApp2://)in your app1, you call app2 using
protocolThatCallsApp2://then in your app2 you make your calculations and call app1 using
protocolThatCallsApp1://+yourCalculationsand you make the required parsing to get the result in your app1