开发者

Can we call one iphone app from another iphone app?

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

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜