我正在安装Appirater应用程序审查库,可以在以下位置找到:https://github.com/arashpayan/appirater
我在Appirater.m中设置了这些值,只是为了测试它是否要求我检查:
static NSString *_appId;
static double _daysUntilPrompt = 30;
static NSInteger _usesUntilPrompt = 2;
static NSInteger _significantEventsUntilPrompt = -1;
static double _timeBeforeReminding = 1;
static BOOL _debug = NO;
static id<AppiraterDelegate> _delegate;
static BOOL _usesAnimation = TRUE;
static UIStatusBarStyle _statusBarStyle;
static BOOL _modalOpen = false;我像这样配置我自己的AppDelegate:
- (BOOL)application:(UIApplication *)application didFinishLaunchingWithOptions:(NSDictionary *)launchOptions
{
....
[Appirater appLaunched:YES];
return YES;
}
- (void)applicationWillEnterForeground:(UIApplication *)application
{
[Appirater appEnteredForeground:YES];
}但当我打开这款应用两次时,它并没有要求我添加评论。有人知道这是什么原因造成的吗?
谢谢!
发布于 2013-04-16 23:51:04
出于测试目的,您应该设置static BOOL _debug = YES;。在将应用程序添加到AppStore之前,请确保设置了appID。
发布于 2013-04-16 23:46:25
将_daysUntilPrompt更改为一个较小的值,如1或0。
发布于 2013-04-16 23:49:31
将其更改为在Appirator.h中进行测试:
#define APPIRATER_DEBUG YEShttps://stackoverflow.com/questions/16041021
复制相似问题