“评价/评论此应用程序”的应用程序商店链接
我想在我的应用程序中添加“评价/评论此应用程序”功能。
有没有办法直接链接到应用程序商店中他们审核应用程序的屏幕?因此,客户无需点击主应用程序链接。谢谢。
编辑:由于缺乏回应,因此开始悬赏。只是为了确保它非常清晰:我知道我可以链接到商店中我的应用程序页面,并要求用户从那里单击到“查看此应用程序”屏幕。问题是是否可以直接链接到“查看此应用程序”屏幕,这样他们就不必点击任何内容。
I want to put a "rate/review this app" feature into my app.
Is there a way to link directly to the screen in the app store where they review the app? So the customer doesn't have to click through the main app link. Thanks.
EDIT: starting a bounty on this due to the lack of response. Just to make sure it is crystal clear: I am aware that I can link to my app's page in the store, and ask the user to click from there to the "review this app" screen. The question is whether it is possible to link directly to the "review this app" screen so they don't have to click through anything.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(30)
对于低于 iOS 7 的版本,请使用旧版本:
这对我有效(Xcode 5 - iOS 7 - 设备!):
适用于 iOS 8或更高版本:
代码片段(您可以复制并粘贴它):
For versions lower than iOS 7 use the old one:
This works on my end (Xcode 5 - iOS 7 - Device!):
For iOS 8 or later:
Code snippet (you can just copy & paste it):
更新:
Swift 5.1、Xcode 11
在真实设备 iOS 13.0 上测试(保证正常工作)
Update:
Swift 5.1, Xcode 11
Tested on Real Device iOS 13.0 (Guarantee to work)
编辑:iOS 11解决方案
这是我原来答案的解决方案(见下文)。使用 iOS 11 时,可以使用以下链接格式:
只需将
APP_ID
替换为您的特定应用 ID。使链接有效的关键是国家/地区代码。上面的链接使用us
代码,但实际上使用哪个代码并不重要。用户将自动被重定向到他的商店。iOS 11 更新:
其他答案中提供的直接进入评论页面的解决方案似乎都不适用于 iOS 11。
最有可能的问题是, iOS 11 App Store 应用程序页面不再有“评论”选项卡。相反,评论现在位于描述和屏幕截图的正下方。当然,仍然可以直接到达此部分(例如使用某种锚点),但苹果似乎不支持/有意这样做。
使用以下链接之一不再有效。他们仍然将用户带到 App Store 应用但只是一个空白页面:
仍然使用这些链接的每个人都应该尽快更新他们的应用,因为将用户引向空白页面App Store 页面很可能不是您想要的。
但是,不指向评论页面而是指向应用程序页面的链接仍然有效,例如,
因此,您仍然可以将用户带到您的应用程序商店页面,但不再直接指向评论部分。用户现在必须手动向下滚动到评论部分才能留下反馈。
毫无疑问,这“对用户体验来说是一个巨大而令人敬畏的好处,并将帮助开发人员吸引用户留下高质量的评论,而不会打扰他们”。苹果干得好...
EDIT: iOS 11 Solution
This is the solution to my original answer (see below). When using the iOS 11 the following link format will work:
Simply replace
APP_ID
with your specific app ID. The key to make the link work is the country code. The link above uses theus
code but it actually doesn't matter which code is used. The user will automatically be redirected to his store.iOS 11 Update:
It seems that none of the solutions presented in the other answers to get directly to the Review Page works on iOS 11.
The problem most likely is, that an app page in the iOS 11 App Store app does NOT have a Review Tab anymore. Instead the reviews are now located directly below the description and the screenshots. Of course it could still be possible to reach this section directly (e.g. with some kind of anchor), but it seems that this is not supported / intended by Apple.
Using one of the following links does not work anymore. They still bring the users to the App Store app but only to a blank page:
Everyone how still uses these links should update their apps ASAP, because referring the users to a blank App Store page is most likely not what you intended.
Links which do not refer to the Review page but to the App page, still work however, e.g.
So, you can still get the users to your apps Store page, but not directly to the review section anymore. Users now have to scroll down to the review section manually to leave their feedback.
Without a question this a "great and awesome benefit for User Experience and will help developers to engage users to leave high quality reviews without annoying them". Well done Apple...
上面写的一切都是正确的。只是一个插入应用程序并将 {YOUR APP ID} 更改为实际应用程序 ID(从 iTunesconnect 获取以显示评论页面)的示例。请注意,正如上面评论的那样,它不适用于模拟器 - 仅适用于设备。
openURL
更改Everything, written above is correct. Just a sample to insert into the app and change {YOUR APP ID} to actual app id, taken from iTunesconnect to show the Review page. Please note, as it was commented above, that it is not working on the Simulator - just the device.
openURL
changes上述所有方法都是正确的,但现在使用 SKStoreProductViewController 会导致更好的用户体验。要使用它,您需要执行以下操作:
添加所需的productViewControllerDidFinish方法:
检查SKStoreProductViewController类是否可用,并显示它或切换到App Store:
All above approaches are correct, but nowadays using SKStoreProductViewController leads to better user experience. To use it you need to do the following:
add required productViewControllerDidFinish method:
Check if SKStoreProductViewController class is available and either show it or switch to the App Store:
解决方案
iOS 11短应用商店 URL 无法正确打开新 iOS 11 应用商店中的“撰写评论”界面的 。例如,这不起作用:
https://itunes.apple.com/app/id333903271?mt=8&action=write-review
解决方法是包括URL 中的两个字母的国家/地区代码和应用程序名称,例如:
或者
您可以从此处获取应用程序的完整 URL:https://linkmaker.itunes.apple.com/
这样就成功打开了 iOS 11 App Store 中的“撰写评论”界面。
编辑: 正如@Theo 在下面提到的,国家代码不需要本地化,并且如果应用名称发生更改,URL 中的应用名称也不需要更新。
希望苹果能够尽快修复这个较短的 URL。请参阅 rdar://34498138
Solution for iOS 11
Short App Store URLs do not correctly open the "write a review" interface in the new iOS 11 App Store. For example, this does not work:
https://itunes.apple.com/app/id333903271?mt=8&action=write-review
The workaround is to include a two-letter country code and app name in the URL, such as this:
or
You can get the full URL of your app from here: https://linkmaker.itunes.apple.com/
This successfully opens the "write a review" interface in the iOS 11 App Store.
Edit: As @Theo mentions below, the country code does not need to be localized and the app name in the URL does not need to be updated if the app name changes.
Hopefully Apple will fix this soon for the shorter URL. See rdar://34498138
Swift 2 版本
Swift 2 version
iOS 11+(新应用商店)中有一种新方法可以实现此目的。您可以直接打开“撰写评论”对话框。
iOS 11 示例:
或
注释:
/us/
)。它可以是任何国家/地区代码,没关系。1137397744
) 更改为您的应用程序 ID(从 iTunes URL 获取)。There is a new way to do this in iOS 11+ (new app store). You can open the "Write a Review" dialog directly.
iOS 11 example:
or
Notes:
/us/
). It can be any country code, doesn't matter.1137397744
) to your app id (get it from iTunes URL).您可以在网址启动器功能中使用此链接
https://apps.apple.com /app/APP_ID?action=write-review
You can use this link in your url launcher function
https://apps.apple.com/app/APP_ID?action=write-review
以前的所有链接不再直接指向“评论”选项卡,
此链接将直接指向“评论选项卡”:
https://itunes.apple.com/app/viewContentsUserReviews?id=AppID
或
itms-apps://itunes.apple.com/app/viewContentsUserReviews?id=AppID
All previous links no more direct to "Reviews" tab,
This link would direct to "Reviews Tab" directly:
https://itunes.apple.com/app/viewContentsUserReviews?id=AppID
or
itms-apps://itunes.apple.com/app/viewContentsUserReviews?id=AppID
使用这个 URL 对我来说是完美的解决方案。它将用户直接带到
撰写评论部分
。感谢@Joseph Duffy。 必须尝试URL =
itms-apps://itunes.apple.com/gb/app/idYOUR_APP_ID_HERE?action=write-review&mt=8
将 YOUR_APP_ID_HERE 替换为您的 AppId
对于示例代码,请尝试以下操作:
Swift 3、Xcode 8.2.1:
这里 showAlert 是
UIAlertController
的自定义函数。Using this URL was the perfect solution for me. It takes the user directly to the
Write a Review section
. Credits to @Joseph Duffy. MUST TRYURL =
itms-apps://itunes.apple.com/gb/app/idYOUR_APP_ID_HERE?action=write-review&mt=8
Replace YOUR_APP_ID_HERE with your AppId
For a sample code try this :
Swift 3, Xcode 8.2.1 :
Here showAlert is a custom function for an
UIAlertController
.在 iOS7 中,将您的应用程序切换到 App Store 进行评分和审核的 URL 已更改:
其中 APP_ID 需要替换为您的应用程序 ID。
对于 iOS 6 及更早版本,之前答案中的 URL 工作正常。
来源:Appirater
享受编码..!!
In iOS7 the URL that switch ur app to App Store for rate and review has changed:
Where APP_ID need to be replaced with your Application ID.
For iOS 6 and older, URL in previous answers are working fine.
Source: Appirater
Enjoy Coding..!!
从 iOS 10.3 开始,您可以将
action=write-review
查询项附加到您的https://itunes.apple.com/...
和https:// /appsto.re/...
URL。在 iOS 10.3 及更高版本上,它将自动打开撰写评论
,而在较低的 iOS 版本上,它将回退到应用的 App Store 页面。iOS 11 更新:
使用 Apple 的 linkmaker:linkmaker.itunes.apple.com
并附加
&action=write-review
似乎是最安全的方法。Starting from iOS 10.3 you can attach
action=write-review
query item to yourhttps://itunes.apple.com/...
andhttps://appsto.re/...
URLs. On iOS 10.3 and up it will openWrite a review
automatically, while on lower iOS releases will fall back to the app's App Store page.iOS 11 update:
Use Apple's linkmaker: linkmaker.itunes.apple.com
and append
&action=write-review
, seems to be the most safe way to go.iOS 4 放弃了“删除率”功能。
目前,对应用程序进行评级的唯一方法是通过 iTunes。
编辑:可以通过 iTunes Link Maker 生成应用程序的链接。 该网站有一个教程。
iOS 4 has ditched the "Rate on Delete" function.
For the time being the only way to rate an application is via iTunes.
Edit: Links can be generated to your applications via iTunes Link Maker. This site has a tutorial.
Swift 2 版本实际上会将您带到 iOS 8 和 iOS 9 上的应用程序的审核页面:
Swift 2 version that actually takes you to the review page for your app on both iOS 8 and iOS 9:
对于 >= iOS8:(简化的@EliBud 的答案)。
For >= iOS8: (Simplified @EliBud's answer).
我在 iOS 10 中遇到同样的问题,我可以打开 iTunes 费率部分,调用:
http://itunes.apple.com/WebObjects/MZStore.woa/wa/viewContentsUserReviews?id=YOUR_APP_ID&pageNumber=0& ;sortOrdering=2&type=Purple+Software&mt=7
基本上它将最后一个 url var 更改为“mt=7”
干杯
I'm having the same issue in iOS 10 and I could open the iTunes rate section calling:
http://itunes.apple.com/WebObjects/MZStore.woa/wa/viewContentsUserReviews?id=YOUR_APP_ID&pageNumber=0&sortOrdering=2&type=Purple+Software&mt=7
Basically it changed the last url var to "mt=7"
Cheers
引用自 Apple 开发者文档
所以 URL 将如下所示:
quote from Apple Developer Documentation
So the URL would be the following:
通过 SKStoreProductViewController 链接到 AppStore 中的任何应用程序 通过
SKStoreProductViewController 可以轻松链接到应用程序商店中的应用程序。但我有点挣扎,所以我决定在这里展示整个过程和一些必要的代码。此技术还确保始终使用正确的存储(对于本地化应用程序很重要)。
要使用您的任何应用程序 ViewController 在您的应用程序中展示应用程序商店的任何应用程序的产品屏幕,请按照以下步骤操作:
SKStoreProductViewControllerDelegate
但最重要的是: - 由于某种原因 - 在模拟器中不起作用 - 您必须在具有互联网连接的真实设备上构建和安装。
SWIFT 4:这是根据前面描述的步骤编写的代码:
Link to any App in the AppStore via SKStoreProductViewController
It is easy to link to your app at the app store via SKStoreProductViewController. But I struggled a little bit, so I decided to show here the whole process and some code necessary. This technique also makes sure that always the correct store will be used (important for localized apps).
To present the product screen of any app of the app store within your app with any of your apps ViewControllers follow this steps:
SKStoreProductViewControllerDelegate
But most important: This - for some reason - does not work in the simulator - you have to build and install on a real device with internet connectivity.
SWIFT 4: This is the code according to the described steps ahead:
这是我在我的应用程序中使用的代码;
Here is the code that I am using in my app;
接受的答案无法加载“评论”选项卡。我发现下面的方法可以加载没有“详细信息”选项卡的“评论”选项卡。
将
{APP_ID}
替换为您的应用程序应用商店应用程序 ID。The accepted answer failed to load the "Reviews" tab. I found below method to load the "Review" tab without "Details" tab.
Replace
{APP_ID}
with your app apps store app id.SWIFT 3
SWIFT 3
这在 iOS 9 - 11 上运行良好。
尚未在早期版本上进行测试。
This works fine on iOS 9 - 11.
Haven't tested on earlier versions.
从 iOS 10.3 开始:
但它刚刚随 10.3 一起发布,因此您仍然需要一些针对旧版本的回退方法,如上所述
Starting in iOS 10.3:
but its has been just released with 10.3, so you will still need some fallback method for older versions as described above
Swift 5 在 iOS14 中测试
打开评论窗口并选择 5 颗星
Swift 5 Tested in iOS14
Opens the review window with 5 stars selected
如果您的应用程序已获得测试版批准但尚未上线,则应用程序审核链接可用,但无法留下评论。
iTunes Connect
我的应用程序
应用程序图标
App Store
页面应用程序信息
部分(它应该会自动带您到那里)。在App Store上查看
。单击它,它将打开一个空白页面。复制页面顶部网址栏中的内容,这就是您的应用评论链接。应用程序上线后,它将上线。If your app has been approved for Beta and it's not live then the app review link is available but it won't be live to leave reviews.
iTunes Connect
My Apps
App Icon
your interested inApp Store
pageApp Information
section (it should automatically take you there)View on App Store
. Click it and it will open to an a blank page. Copy what's in the url bar at the top of the page and that's your app reviews link. It will be live once the app is live.知道你的苹果应用程序 ID,它是你的 itunes 应用程序 URL 中 id 字段后面的数字。
像这样的:https://itunes.apple.com/app/id148688859,然后是 148688859是您的应用程序 ID。
然后,使用正确的应用程序 ID 重定向到此网址:https://itunes。 apple.com/app/idYOUR_APP_ID?action=write-review。
Know you apple app id, it is the numeric digits in your itunes app url after id field.
Something like this : https://itunes.apple.com/app/id148688859, then 148688859 is your app id.
Then, Redirect to this url using your correct app id : https://itunes.apple.com/app/idYOUR_APP_ID?action=write-review.
对于 SwiftUI,有一种直接询问评论的简单方法。
For SwiftUI, there is a simple approach for asking reviews directly.