I need to be able to launch my iOS app from the Safari browser. So I went to my .plist
file in xcode and added an item to my URL Schemes and entered in the string of myappname
.
Now if I go to Safari, and type myappname://
in the URL address bar and submit it, it shows me a UIAlertView
that says Open this page in "MyAppName"?
with options for Cancel
and Open
.
If I tap Open
it successfully opens my app, however I want to do this without the UIAlertView
popping up with that message.
I have done some quick searching online and it looks like people keep having trouble with this whenever a new iOS update comes out and I can't seem to find a recent solution or answer.
I am on an iPhone 4s with iOS 7.1, and I'm using xcode 5.1 if that makes any difference.
Also, I have been using an app available in the App Store called "Frontback" that successfully does this same thing without the UIAlertView
showing in Safari so this is definitely possible.
Thanks for the help.