我使用Appirater有同樣的問題,我已經部分解決了proplem這樣
定義模板iOS7:
NSString *templateReviewURLiOS7 = @"itms-apps://itunes.apple.com/app/idAPP_ID";
使這個chnges在rateApp方法
+ (void)rateApp {
.
.
.
// this URL Scheme should work in the iOS 6 App Store in addition to older stores
NSString *reviewURL = [templateReviewURL stringByReplacingOccurrencesOfString:@"APP_ID" withString:[NSString stringWithFormat:@"%@", _appId]];
// iOS 7 needs a different templateReviewURL @see https://github.com/arashpayan/appirater/issues/131
if ([[[UIDevice currentDevice] systemVersion] floatValue] >= 7.0) {
reviewURL = [templateReviewURLiOS7 stringByReplacingOccurrencesOfString:@"APP_ID" withString:[NSString stringWithFormat:@"%@", _appId]];
}
.
.
.
}
這將在iOS6中打開與以前相同的價格頁面,並在iOS7中打開應用頁面
工作就像一個魅力。謝謝!! –
這是行不通的,蘋果已禁用在iOS 7中使用「SKProductViewController」來查看應用程序的可能性。 – mattsson
您沒有在示例 – Sunkas