我想在我的应用程序中添加某种“写评论”或“给我们评分”功能,以便我的客户可以轻松地对我的iOS应用程序进行评分和评论。
我的应用已经在商店里了,
我想知道如何做到这一点。我希望在该应用启动10次后显示警报,如果可能的话。以及如何创建稍后显示警报的应用程序(可能在以后启动15次)?
搜索后,我找到了iRate示例,我已经在#import "iRate.h"
中导入了appdelegate
而且我已经用appdelegate
编写了这个代码
+(void)initialize{
[iRate sharedInstance].previewMode=YES;
}
当我启动我的应用程序警报时,它会在日志中显示警告:
如何删除此警告以及如何将我的应用程序与我的应用程序的iTunes评分页面链接?
预先感谢。
最佳答案
我在iOS上使用Apprirater进行这种类型的评分,这看起来非常简单,易于配置和管理。从GithubLink read Getting Started
和configure
它
[Appirater setAppId:@"552035781"];//here you need to put your App id
[Appirater setDaysUntilPrompt:1];
[Appirater setUsesUntilPrompt:10];
[Appirater setSignificantEventsUntilPrompt:-1];
[Appirater setTimeBeforeReminding:2];
[Appirater setDebug:YES]; // set NO while you upload App into appstore this YES for testing
出现警报作为您配置时的参数,如Bellow屏幕截图:-
更新
将这三个类添加到您的项目中:
将CFNetwork,SystemConfiguration和StoreKit框架添加到您的项目中。确保在目标的“构建阶段”»“将二进制文件与库链接”部分中将StoreKit的“必需”更改为“可选”。