iTunes 评论 URL 和 iOS 7(要求用户评价我们的应用程序)AppStore 显示空白页面 [英] ITunes review URL and iOS 7 (ask user to rate our app) AppStore show a blank page

查看:16
本文介绍了iTunes 评论 URL 和 iOS 7(要求用户评价我们的应用程序)AppStore 显示空白页面的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

有谁知道用于要求用户给我们的应用评分并直接在评分页面上为他打开​​ App Store 的技术在 iOS 7 上是否仍然有效?

Does anybody knows if the technique used to ask the user to rate our app and open for him the App Store directly on the rating page is still working on iOS 7 ?

我曾经从我的应用打开这个网址:

I used to open this url from my app :

itms-apps://itunes.apple.com/WebObjects/MZStore.woa/wa/viewContentsUserReviews?id=353372460&onlyLatestVersion=true&pageNumber=0&sortOrdering=1&type=Purple+Software

但看起来它不再工作了(AppStore 显示空白页面).我也试过这个网址,但运气不好:

But it looks like it's not working anymore (AppStore show a blank page). I have also tried this url wihout luck:

http://itunes.apple.com/WebObjects/MZStore.woa/wa/viewContentsUserReviews?pageNumber=0&sortOrdering=1&type=Purple+Software&mt=8&id=353372460

推荐答案

从 iOS7 开始,URL 发生了变化,无法指向评论页面,只能指向应用程序

Starting with iOS7 the URL has changed and cannot direct for the review page but only to the app

itms-apps://itunes.apple.com/app/idAPP_ID

其中 APP_ID 需要替换为您的应用程序 ID.根据问题中的 App ID,它将是以下内容

Where APP_ID need to be replaced with your Application ID. Based on the App ID from the question it would be the following

itms-apps://itunes.apple.com/app/id353372460

注意数字前面的id ...该字符串是id353372460,而不仅仅是353372460

Notice the id in front of the number ... that string is is id353372460, not just 353372460

对于 iOS7 之前的任何内容,都需要使用旧"网址,只有那些才能让您直接进入评论页面.您还应该注意,这些调用仅适用于设备.因为模拟器没有安装 App Store 应用程序,所以在模拟器中运行它们不会有任何作用.

For anything pre iOS7 the 'old' URL needs to be used, only those could get you straight to the review page. You should also take note that these calls will only work on devices. Running them in the simulator will do nothing since the simulator does not have the App Store app installed.

查看例如 Appirater 的实现.https://github.com/arashpayan/appirater

Have a look at for instance Appirater for an implementation. https://github.com/arashpayan/appirater

无法为您提供有关 phonegap 的详细信息(从未使用过).但这基本上归结为检查您的用户正在运行的 iOS 版本,然后使用旧 URL 或新的 iOS7 URL.

Can't help you with phonegap specifics (never used it). But it basically comes down to checking the iOS version your user is running and then either use the old URL or then new iOS7 URL.

这篇关于iTunes 评论 URL 和 iOS 7(要求用户评价我们的应用程序)AppStore 显示空白页面的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆