Skip to content
This repository has been archived by the owner on Jun 10, 2019. It is now read-only.

Commit

Permalink
Fix bug in previous checkin
Browse files Browse the repository at this point in the history
  • Loading branch information
mmorearty authored and jum committed May 6, 2011
1 parent 2809162 commit c17b0eb
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions Appirater.m
Expand Up @@ -338,6 +338,7 @@ + (void)rateApp {
#if TARGET_IPHONE_SIMULATOR #if TARGET_IPHONE_SIMULATOR
NSLog(@"APPIRATER NOTE: iTunes App Store is not supported on the iOS simulator. Unable to open App Store page."); NSLog(@"APPIRATER NOTE: iTunes App Store is not supported on the iOS simulator. Unable to open App Store page.");
#else #else
NSUserDefaults *userDefaults = [NSUserDefaults standardUserDefaults];
NSString *reviewURL = [templateReviewURL stringByReplacingOccurrencesOfString:@"APP_ID" withString:[NSString stringWithFormat:@"%d", APPIRATER_APP_ID]]; NSString *reviewURL = [templateReviewURL stringByReplacingOccurrencesOfString:@"APP_ID" withString:[NSString stringWithFormat:@"%d", APPIRATER_APP_ID]];
[userDefaults setBool:YES forKey:kAppiraterRatedCurrentVersion]; [userDefaults setBool:YES forKey:kAppiraterRatedCurrentVersion];
[userDefaults synchronize]; [userDefaults synchronize];
Expand Down

0 comments on commit c17b0eb

Please sign in to comment.