Under the Bridge

Snippet: AppStore Reviews

Here’s a little snippet showing you how to open the App Store to your reviews page from the application:

- (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]];
}

Happy users are the best social proof!

2
  • Pingback: AppStore Review Links Redux at Under The Bridge

  • Ben

    The URL may or may not work anymore (it gives a cannot connect to the iTunes Store error for me), but regardless, this is a terrible snippet of code. You do realize it’s needlessly creating 3 autorelease NSStrings?