ios 以编程方式从另一个应用程序打开一个应用程序
声明:本页面是StackOverFlow热门问题的中英对照翻译,遵循CC BY-SA 4.0协议,如果您需要使用它,必须同样遵循CC BY-SA许可,注明原文地址和作者信息,同时你必须将它归于原作者(不是我):StackOverFlow
原文地址: http://stackoverflow.com/questions/16670544/
Warning: these are provided under cc-by-sa 4.0 license. You are free to use/share it, But you must attribute it to the original authors (not me):
StackOverFlow
Open one App from another programmatically
提问by Goutham P
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.
我们有一个标准的 SAP BI 应用程序,我们没有代码,我们公司购买了它供我们内部使用,现在我的 PM 要求我以编程方式从我们的自定义应用程序打开 SAP BI 应用程序,我已经使用 url 完成了然后我面临一个问题,他希望我在用户单击标准 SAP BI 应用程序中的特定按钮时自动打开我们的自定义应用程序,而我没有任何代码。
Is it possible to open my custom App from SAP BI App.
是否可以从 SAP BI 应用程序打开我的自定义应用程序。
回答by Antonio MG
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'
从其他应用程序打开应用程序的唯一方法是在要打开的应用程序的代码中启用它。如果该应用没有提供打开它的 URL 方案,你就不能'
Read more here:
在此处阅读更多信息:
回答by Buntylm
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
URL Schemes
是应用程序之间通信的唯一方式。支持自定义的应用程序URL schemes
可以使用这些方案来接收消息。例如,想要在地图应用程序中显示地址的应用程序可以使用 aURL
来启动该应用程序并显示该地址。这是我发现相关的一些有用的东西
回答by Rushabh
You'll need set a custom URL scheme in your second app for that. Check this tutorialor simply do a search with "iphone custom URL schemes". There's a lot of good tutorials.
为此,您需要在第二个应用程序中设置自定义 URL 方案。查看本教程或简单地使用“iphone 自定义 URL 方案”进行搜索。有很多很好的教程。