iPhone sdk - open app store to specific app?

Viewed 25508

Is there a way to open the app store to a specific application? I tried using something like the following:

[[UIApplication sharedApplication] openURL: [NSURL URLWithString:@"http://itunes.apple.com/WebObjects/MZStore.woa/wa/viewSoftware?id=284417350&mt=8&uo=6"]];

But got the following: "Safari cannot open the page because to many redirects occurred".

6 Answers

Another simple way is:

[[UIApplication sharedApplication] openURL: [NSURL URLWithString:@"itms-apps://itunes.com/app/YourAppNameWithoutSpaces"]];

This is very clean

Related