开发者

Can we call one iphone app from another iphone app?

开发者 https://www.devze.com 2023-01-03 11:03 出处:网络
Say, that i am clicking on one iphone app icon,when launchedit will create one .app file.So is it possible to call one more i开发者_如何学Cphone app from that app.Or can we do something in that .app f

Say, that i am clicking on one iphone app icon,when launched it will create one .app file.So is it possible to call one more i开发者_如何学Cphone app from that app.Or can we do something in that .app file such that it will call another app.


Yes: you need use URL Schemes:

Essentially, one app registers the fact that it handles a particular URL prefix, and then to launch that app, you have to navigate to that URL.

You can pass parameters through this URL too


If by calling another app, you mean to use other app as a service then No. One iPhone app can not communicate with another iPhone app.

The best you can do is launch another iPhone app from you app. You need to know the URL for that other app. If you want other apps to launch your app then you need to register a URL for your app so that other apps can launch your iphone app using that url.

Please note here the app will only launch if it is already installed on the iPhone. It will not automatically get it from iTunes.

0

精彩评论

暂无评论...
验证码 换一张
取 消

关注公众号