views:

59

answers:

1

Hi.

So I know how to open an app page on the appStore from within my iPhone app.

Is there a way to open my company's page? On iTunes on my mac I can do that, but using that URL in the iPhone I can't (or I'm not doing it right).

Thanks in advance.

A: 

This is a great article on this subject: http://bjango.com/articles/ituneslinks/

Quote from the article:

http://itunes.com/apps/developer — Search for all apps by developer

It’s also possible to link to all apps by one developer, but there’s a catch. On a Mac or a PC, this will open iTunes and land on a developer’s page. On an iPhone or iPod touch it’ll do a bit of a dance, opening MobileSafari, then iTunes, then the App Store app. Not ideal, a bit ugly and slow, but it gets there in the end.

If you’d like to hide the redirections and speed up the process, Apple recommend using NSURLConnection.

iWasRobbed
Thanks a lot. Since I am passing the link in the html body of a mail message sent from my app, I can't do "the dance", but if it is not too slow, that's a way to go. I'll try it now.
camilo
Actually after trying it, it doesn't seem to work. For instance, for the creators of Angry Birds I used http://itunes.com/apps/clickgamer.com and it doesn't take me anywhere.
camilo
Just another comment to state here, humbly, for the whole world to read, that I am a very very dumb man. I was doing it wrong. It works perfectly. Thanks!
camilo
The only way we all learn is from making mistakes :) Glad you worked it out
iWasRobbed