Become a MacRumors Supporter for $50/year with no ads, ability to filter front page stories, and private forums.

johnjmapp

macrumors newbie
Original poster
Jan 17, 2012
16
0
I found a useful pieces of code that can let you request user to review your app. i would like to share it here.

Code:
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];
            str = [NSString stringWithFormat:@"%@493860607", str]; 
            
            [[UIApplication sharedApplication] openURL:[NSURL URLWithString:str]];
 
type=Purple+Software part is literal and not the name of your company. so you dont need to change it.

The only thing you need to change is the app id. replace it with your own app id.
 
Note:
The link will take people using an iPhone or iPod Touch (I'm not sure about iPad,) directly to the review section of the app's page on the app store. You only need to make sure the id is correct (you can find it on iTunes Connect > Manage Apps > the app you want the id for.)

Just because the OP kind of posted that helpful code without really explaining what it does or how to use it.
 
Register on MacRumors! This sidebar will go away, and you'll see fewer ads.