Wednesday, 8 April 2015

How to open an app from another app? -- APPURL

In IOS, how to make your app has the ability to open or access or launch another app? the answer is by app URL.

You can open an app by accessing a URL. (by mobile browser or by WebView loadRequest)

However, your target app should has an app URL (by default, apps doesn't have an app URL)

How to assign a URL to an app? (of course it is your app)

Very easy:

You should create this "URL types" manually and subitems.

if you set "Item 0" as "iOSDevTips", then you can open your app by accessing "iOSDevTips://":

Call Custom URL Scheme from Safari

No comments:

Post a comment