iphone - "rate/review this app"的应用商店链接

标签 iphone app-store

我想在我的应用中添加“评价/评论此应用”功能。

有没有办法直接链接到应用商店中他们审核应用的屏幕?因此,客户无需点击主应用程序链接。谢谢。

编辑:由于缺乏回应,因此开始悬赏。只是为了确保它非常清晰:我知道我可以链接到商店中我的应用程序页面,并要求用户从那里单击到“查看此应用程序”屏幕。问题是是否可以直接链接到“查看此应用程序”屏幕,这样他们就不必点击任何内容。

最佳答案

For versions lower than iOS 7 use the old one:

itms-apps://itunes.apple.com/WebObjects/MZStore.woa/wa/viewContentsUserReviews?type=Purple+Software&id=YOUR_APP_ID

This works on my end (Xcode 5 - iOS 7 - Device!):

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

For iOS 8 or later:

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

代码片段(您可以复制并粘贴它):

#define YOUR_APP_STORE_ID 545174222 //Change this one to your ID

static NSString *const iOS7AppStoreURLFormat = @"itms-apps://itunes.apple.com/app/id%d";
static NSString *const iOSAppStoreURLFormat = @"itms-apps://itunes.apple.com/WebObjects/MZStore.woa/wa/viewContentsUserReviews?type=Purple+Software&id=%d";

[NSURL URLWithString:[NSString stringWithFormat:([[UIDevice currentDevice].systemVersion floatValue] >= 7.0f)? iOS7AppStoreURLFormat: iOSAppStoreURLFormat, YOUR_APP_STORE_ID]]; // Would contain the right link

关于iphone - "rate/review this app"的应用商店链接,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/3124080/

相关文章:

iphone - iPhone上的FFmpeg运行错误 'make'

ios - 如何提交应用到应用商店?

iphone - 检查 View Controller 是否存在,如果不存在则分配/初始化(iOS)

ios - 除了在其框架内执行之外,iOS 上的 javascript 是否必须由 WebKit 框架下载 *?

app-store - 如果元数据被拒绝,我的下一步是什么?

iphone - 根据 JSON 响应在 Tapku 日历月上标记日期

iphone - 按下->删除效果的简单方法?或者移动->重新定位查看效果?

macos - Mac 应用程序图标在 itunes connect 中不显示

ios - 使用 KVC 访问私有(private)属性(以下划线开头)是否被视为使用私有(private) API?

app-store - 当我在 AppStore 的 "Pending Developer Release"时提交新版本