G.Abhisek
G.Abhisek

Reputation: 1094

Deep linking URLSchema not taking me to the app as desired when clicking on web link

I am trying to design a app that deep links to a url as http://www.bunty.com/page1 To achieve that I tried to use the following details to my plist . You can view it in the screenshot. But this seems not to work as expected because when I try to open the link in Safari, it opens some other website but not my app. So what mistake am I doing and how to rectify it.

enter image description here

Upvotes: 1

Views: 1853

Answers (3)

Dan Leonard
Dan Leonard

Reputation: 3395

You may also need to set the the Bundle display name in you info.plist to your apps name. This is used to create the popup message that says "current app would like to launch Bunty" and if it is nil the app will crash. This is different then the Bundle Name here is a screen shot of my schedule app.displayNameVsName

Upvotes: 0

Omer Janjua
Omer Janjua

Reputation: 622

change the http to myApp and visit the url in Safari using myApp://page1

Upvotes: 0

michal.ciurus
michal.ciurus

Reputation: 3664

You can't just override http:// protocol. iOS will always open a browser for http.

You have to use some custom scheme/protocol, like myApp://page1 Remember to enter a correct identifier, which is your app's bundle id.

Here's a full tutorial I wrote on how to do that.

Upvotes: 1

Related Questions