I would like to provide a link to all the apps of a single author/company on the App Store from my iPhone app.
Let\'s take Ngmoco for instance. Clicking on the follo
Here's the latest answer with a link to Apples Dev guidelines and examples.
// Goes to App Store
NSString *iTunesLink = @"itms-apps://itunes.com/apps/gameloft/";
[[UIApplication sharedApplication] openURL:[NSURL URLWithString:iTunesLink]];
How to Launch App store from iOS Application
How Apple says to do it - Company Store link
Using the previous answers as guidelines, I did the following:
You can then change it so that it uses itms-apps instead of https, as below:
itms-apps://itunes.apple.com/gb/artist/facebook-inc./id284882218
When used in app this will open up the App Store on a nice page with your company name at the top and all the apps listed below. You can copy and paste the link into the address bar of mobile Safari to see a preview of it in the App Store without having to delve into any code.
Even easier are the itunes.com urls. http://itunes.com/CompanyName (remove any spaces in the company).
Try replacing itunes
with phobos
, e.g.:
http://phobos.apple.com/WebObjects/MZStore.woa/wa/viewArtist?id=293559501
Links to phobos.apple.com
will open in the App Store application, while links to itunes.apple.com
will open in the iTunes application.
So, the procedure in Apple's Technical Q&A on the subject doesn't work? (That seems to match Jason's answer that you said was not successful.) It did work for the user that posted this other question and this one, although perhaps the difference is linking to an app versus linking to a company?
I think the Apple sample code has a bug. Change
self.iTunesURL = [response URL];
to
self.iTunesURL = [request URL];