我使用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