Memention Blog

Open AppStore reviews for an iPhone app


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 2009




Show comments

Archive

Getting there13 Mar 2014
Throwing pebbles12 Jul 2013
Provision this!30 Aug 2012
Break what?18 Aug 2011
That old thing04 May 2011
Removing a Step15 May 2010
Make It Work22 Feb 2010
KISS server31 Jan 2010
tig on Mac12 Dec 2009
The XML Runner31 Oct 2009
Get some software from Memention
Powered by Jekyll and Disqus.
Copyright © 2010-2013 Memention AB