到目前为止(iOS < 6.0),我使用以下 URL 和代码将用户直接发送到我的应用程序的评论页面(给它评分 5 星并发表友好评论:)):
NSString *stringUrl = @"http://itunes.apple.com/WebObjects/MZStore.woa/wa/viewContentsUserReviews?id=XXXXXXXX&pageNumber=0&sortOrdering=1&type=Purple+Software&mt=8";
NSURL *url = [NSURL URLWithString:stringUrl];
[[UIApplication sharedApplication] openURL:url];
当我在装有 iOS 6 的设备(以及 iOS 6 的新应用商店)上运行我的应用程序时,此代码不再有效。 Appstore 打开,但随后我收到一条警告,提示“无法连接到 Appstore”。
有人知道如何将用户直接发送到 iOS 6 上 Appstore 的评论页面吗? (请注意,我知道如何通过这不是我想要的方式向用户发送关于我的应用程序的描述!)
谢谢!
最佳答案
像这样使用 url
https://userpub.itunes.apple.com/WebObjects/MZUserPublishing.woa/wa/addUserReview?type=Purple+Software&id=561892747&mt=8&o=i
我在 Apple 收据电子邮件中的“写评论”链接上找到了它。
关于ios - 如何将用户直接转到 App Store 的评论页面?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/12061538/