Rate Us Feature

Hello. Does anyone know how to make the popup window for your app that alets the user to rate the app and gives the three choices: Sure, Later, and don't remind me again. How can I make this feature part of my app. Thanks.

appirater was the standard - I don't think it made the jump to swift.

h t t p s : / / github.com/arashpayan/appirater


Seen armchair?

h t t p s : / / github.com/UrbanApps/Armchair

This works. It takes you to the page and the user has to select "Review". It uses the older UIAlertView.


//   add a UIWebView to your screen and make it hidden
BOOL mayAskToReview=YES;  // Global variable, store this away somewhere

//  add some point execute this code:
if(mayAskToReview){
       UIAlertView *completedDialog;
       completedDialog = [[UIAlertView alloc]
         initWithTitle:nil
         message:@"Would you like to go to the app store and write a review?"
         delegate: self
         cancelButtonTitle:@"No, but ask me later"
         otherButtonTitles:@"Take me to the App Store",@"No, and don't ask again",nil];
       [completedDialog show];
  }

-(void)alertView:(UIAlertView *)alertView clickedButtonAtIndex:(NSInteger)buttonIndex {
  NSString *buttonTitle=[alertView buttonTitleAtIndex:buttonIndex];
  if ([buttonTitle  isEqualToString:@"No, and don't ask again"]){
       mayAskToReview=NO;  // update the memory of this variable for future reference
  }else if ([buttonTitle  isEqualToString:@"Take me to the App Store"]){
       [myWebView setHidden:NO];
       [myWebView loadRequest:[NSURLRequest requestWithURL:
                [NSURL URLWithString:@"https://itunes.apple.com/app/id123456789mt=8"]]];/ / your app has an id
  }
}
Rate Us Feature
 
 
Q