iOS 7上禁用SKStoreProductViewController速率 [英] SKStoreProductViewController rate disabled on iOS 7
本文介绍了iOS 7上禁用SKStoreProductViewController速率的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
所以我注意到Apple更改了SKStoreProductViewController,禁用了Write a Review按钮。
是否有针对此问题的解决方法或修复方法?
So I noticed that Apple changed SKStoreProductViewController, disabling the "Write a Review" button. Is there any workaround or fix for this issue?
推荐答案
SKStoreProductViewController不支持撰写评论选项了。为什么?我真的不知道。它在iOS6中完成。
SKStoreProductViewController doesn't support the 'Write a review' option anymore. Why? I really don't know. It did in iOS6.
可以使用'itms-app://'链接打开应用程序商店。
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
}
这篇关于iOS 7上禁用SKStoreProductViewController速率的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文