Open one App from another programmatically [duplic

2019-01-26 22:36发布

问题:

This question already has an answer here:

  • Launch an app from within another (iPhone) 13 answers

We have a standard SAP BI App and we don't have the code for that and our company purchased it for our internal use and now my PM has asked me to open SAP BI App from our custom App programmatically and I have done it using url scheme's and then I am facing the problem he wants me to open our custom App automatically when ever the user clicks on a specific button in standard SAP BI App for which I don't have any code.

Is it possible to open my custom App from SAP BI App.

回答1:

The only way to open an app from other app is to enable it in the code of the app you want to be opened. If that app dones't provide a URL scheme to open it, you can't'

Read more here:

Launch an app from within another (iPhone)



回答2:

URL Schemes are the only way to communicate between apps.Apps that support custom URL schemes can use those schemes to receive messages.For example, an app that wants to show an address in the Maps app can use a URL to launch that app and display the address. and Here is something useful that i found related



回答3:

You'll need set a custom URL scheme in your second app for that. Check this tutorial or simply do a search with "iphone custom URL schemes". There's a lot of good tutorials.