Permalink
Browse files

Fix bug in previous checkin

  • Loading branch information...
1 parent 2809162 commit c17b0eb0113139b0dd55df45872124cf6f468bd7 @mmorearty mmorearty committed with Apr 20, 2011
Showing with 1 addition and 0 deletions.
  1. +1 −0 Appirater.m
View
1 Appirater.m
@@ -338,6 +338,7 @@ + (void)rateApp {
#if TARGET_IPHONE_SIMULATOR
NSLog(@"APPIRATER NOTE: iTunes App Store is not supported on the iOS simulator. Unable to open App Store page.");
#else
+ NSUserDefaults *userDefaults = [NSUserDefaults standardUserDefaults];
NSString *reviewURL = [templateReviewURL stringByReplacingOccurrencesOfString:@"APP_ID" withString:[NSString stringWithFormat:@"%d", APPIRATER_APP_ID]];
[userDefaults setBool:YES forKey:kAppiraterRatedCurrentVersion];
[userDefaults synchronize];

0 comments on commit c17b0eb

Please sign in to comment.