4

Possible Duplicate:
Is it possible to register a http+domain-based URL Scheme for iPhone apps, like YouTube and Maps?

I know I can create a custom URL scheme and launch my application with it. So I can catch the URL like that:

myapp://image/1

and open myapp showing the user image ID=1.

But as far as I'm concerned - the YouTube app behaved a bit different, using an url like this:

http://youtube.com/v/<ID>

the iPhone would catch the http scheme but starting with youtube address and open YT app.

Is something like this possible with my own app, or is it some private api thing? Can I, somehow, make my app launch on the open of URL:

http://app.myapp.com/image/1

or is it not possible at all?

Community
  • 1
  • 1
kender
  • 85,663
  • 26
  • 103
  • 145
  • Here is a question where the answers outline possible ways of doing this. http://stackoverflow.com/questions/1108693/is-it-possible-to-register-a-httpdomain-based-url-scheme-for-iphone-apps-like/ Let me know how it goes! I may need to do something similar in the near future. – Zachary Christopoulos Jan 05 '13 at 11:06

1 Answers1

0

http/https/ftp scheme name is for web pages which is opened by Safari. I know these exceptions

  • Web links that point to http://maps.google.com are redirected to the Maps app.
  • Web links that point to http://www.youtube.com are redirected to the YouTube app.
  • iTunes store links (http://phobos.apple.com/etc..) are sent to the iTunes (or App store) app.

I dont think you can do something like http://app.myapp.com/image/1 to redirect to your app.

Here is Apple link for Youtube URL scheme.

msk
  • 8,885
  • 6
  • 41
  • 72