iOS6 review link works again
umekun123 opened this issue · comments
Apple fixed the review link issue on iOS6 app store, and it works again.
But, it doesn't go to the review page where you can start writing right away as you did on iOS5.
I'm not sure if there is better way, but I am doing like this at the moment.
-
(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:@"%@", _appId]];[userDefaults setBool:YES forKey:kAppiraterRatedCurrentVersion];
[userDefaults synchronize];
[[UIApplication sharedApplication] openURL:[NSURL URLWithString:reviewURL]];endif
}
Thanks, @umekun123. I've reopened issue 50 to handle this bug.