How can we make the "please leave us a review in the app store" functional PopUp in an iOS app?
App 2The App StoreTap on your profile icon in the top right, select "Personalized Recommendations," and go into "Ratings & Reviews." You can see other interactions you've had with the App Store, such as purchases, subscriptions, and pre-orders.
When you can write reviews in the Play Store. You can only review apps and games you've downloaded. You can't leave a review from an enterprise account, like an account for work or school. If any account on your device is part of a beta program for an app, you can't leave a review for that app.
When you find the app in the search results tap on the app icon or large image thumbnail to view the store details screen of the app. Step 5. Scroll down until you see the “Ratings & Reviews” section with the stars. Tap on a star to give the app a rating (5 stars is the best!).
It's quite easy. Create an action rateGame
and change the id 409954448
to your app id.
- (IBAction)rateGame {
[[UIApplication sharedApplication]
openURL:[NSURL URLWithString:@"itms-apps://ax.itunes.apple.com/WebObjects/MZStore.woa/wa/viewContentsUserReviews?type=Purple+Software&id=409954448"]];
}
This will launch the AppStore app and take the user directly to the page where s/he can rate and review your app. If you want this to happen after, say, 20 times the user loads your app, then you can add an alert in viewDidLoad
of your main page:
- (void)viewDidLoad {
[super viewDidLoad];
NSUserDefaults *prefs = [NSUserDefaults standardUserDefaults];
NSInteger launchCount = [prefs integerForKey:@"launchCount"];
if (launchCount == 20) {
launchCount++;
[prefs setInteger:launchCount forKey:@"launchCount"];
UIAlertView *alert = [[UIAlertView alloc] initWithTitle:@"LIKE MY APP?"
message:@"Please rate it on the App Store!"
delegate:self
cancelButtonTitle:@"NO THANKS"
otherButtonTitles:@"RATE NOW", nil];
[alert show];
[alert release];
}
}
This assumes you've set up the launchCount in the AppDelegate:
- (BOOL)application:(UIApplication *)application
didFinishLaunchingWithOptions:(NSDictionary *)launchOptions {
NSUserDefaults *prefs = [NSUserDefaults standardUserDefaults];
NSInteger launchCount = [prefs integerForKey:@"launchCount"];
launchCount++;
[prefs setInteger:launchCount forKey:@"launchCount"];
// YOUR CODE HERE
}
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With