Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

SKStoreProductViewController rate disabled on iOS 7

So I noticed that Apple changed SKStoreProductViewController, disabling the "Write a Review" button. Is there any workaround or fix for this issue?

like image 917
k20 Avatar asked Sep 27 '13 18:09

k20


1 Answers

SKStoreProductViewController doesn't support the 'Write a review' option anymore. Why? I really don't know. It did in iOS6.

A work around could be opening the app store with a 'itms-app://'-link.

if (floor(NSFoundationVersionNumber) > NSFoundationVersionNumber_iOS_6_1) {

    NSString *appURL = [NSString stringWithFormat:@"itms-apps://itunes.apple.com/%@/app/id%@",
                        [[NSLocale preferredLanguages] objectAtIndex:0],
                        @"YOUR_APP_ID"];
    [[UIApplication sharedApplication] openURL:[NSURL URLWithString:appURL]];

} else {
  // your current StoreKit code    
}
like image 126
Gerharbo Avatar answered Nov 15 '22 18:11

Gerharbo