found a useful tip for asking user to review your app

Discussion in 'iOS Programming' started by johnjmapp, Feb 1, 2012.

  1. johnjmapp macrumors newbie


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

    NSString *str = @"itms-apps://";
                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]];
  2. dejo Moderator


    Staff Member

    Sep 2, 2004
    The Centennial State
    Perhaps explain how type and id are determined.
  3. johnjmapp thread starter macrumors newbie


    Jan 17, 2012
    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.
  4. ArtOfWarfare macrumors G3


    Nov 26, 2007
    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.

Share This Page