Apple had already made a nice solution for opening AppStore with a list of apps from a developer. I had missed that but managed to find a solution that I wrote about in my first blog post Open AppStore with a search expression.
When doing that, before finding the right way to do it, I also found a way to open AppStore in the review page for an iPhone app.
It is pretty easy to add a button or let some other event trigger going to the review page for an app. Below is a plain link with the URL for going to the review page for Chess game in AppStore. This link should be clicked on in Mobile Safari on the iPhone to work correctly.
Active link: Review Chess game
Below is a code snippet how to go to AppStore review from a UIButton callback.
- (IBAction)gotoReviews:(id)sender
{
NSString *str = @"itms-apps://ax.itunes.apple.com/WebObjects/MZStore.woa";
str = [NSString stringWithFormat:@"%@/wa/viewContentsUserReviews?", str];
str = [NSString stringWithFormat:@"%@type=Purple+Software&id=", str];
// Here is the app id from itunesconnect
str = [NSString stringWithFormat:@"%@289382458", str];
[[UIApplication sharedApplication] openURL:[NSURL URLWithString:str]];
}
Chess game do actually contain this AppStore beamer. When the user has won two times a question is raised (only once) asking if the user can consider entering a review.
By Edward Patel, 03 Sep 2009Tweet
Show comments