在iOS7中对应用内的评分和评论? [英] Rate and review within an app possible in iOS7?

查看:172
本文介绍了在iOS7中对应用内的评分和评论?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我听说iOS7允许用户对该应用内的应用进行评分和评论,从而无需重定向到appstore并离开应用。到目前为止,我只发现了itunes中速率功能的URL链接的差异,如 ITunes审核URL和iOS 7(要求用户评价我们的应用程序)AppStore显示空白页,但不是如何留在应用程序内。

I have heard that iOS7 allows users to rate and review an app within that app, avoiding the need to redirect to appstore and leaving the app. So far, I have only found the difference in the URL links for the rate feature in itunes as mentioned in ITunes review URL and iOS 7 (ask user to rate our app) AppStore show a blank page, but not how to stay inside the app.

我在我的应用程序中使用Appirater并集成了新的URL和应用程序进入appstore进行费率/审核。

I'm using Appirater in my app and integrated the new url and app goes to appstore for rate/review.

有人可以告诉我这个新功能是否存在以及如何实现它?

Can anybody tell me if this new feature is there and how to implement it?

推荐答案

我认为你正在寻找SKProductViewController。

I think you're looking for the SKProductViewController.

您可以使用以下代码呈现SKProductViewController:

You can present a SKProductViewController with the following code:

NSDictionary *parameters = [NSDictionary dictionaryWithObject:@"YOURITUNESAPPID" forKey:SKStoreProductParameterITunesItemIdentifier];

SKProductViewController *productViewController = [[SKProductViewController alloc] init];
[self presentViewController:productViewController animated:YES completion:nil]];

这假设您在UIViewController子类中并且知道您的iTunes应用程序标识符。这将显示一个模型viewController,显示该应用程序的AppStore条目。

This assumes that you're in a UIViewController subclass and know your iTunes application identifier. This will display a model viewController displaying the AppStore entry for that application.

用户可以从该viewController中保留评级。虽然没能写评论。

Users are able leave ratings from that viewController. Haven't been able to write a review though.

这篇关于在iOS7中对应用内的评分和评论?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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