我安装,可以在这里找到Appirater应用程序审查库: https://github.com/arashpayan/appiraterAppirater没有要求审查
我设置在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];
}
但是当我打开应用程序的两倍,它并没有要求我加入的评论。有人会知道可能造成这种情况吗?
谢谢!
你为appraiter设置了appid吗? – nsgulliver
@nsgulliver不,我没有得到,因为我看到只是试图调用审查对话框,并没有去应用程序商店。我应该设置应用程序ID吗? – Genadinik
我刚刚改变了这一行:static NSString * _appId = @“my_app_id”;这是必要的吗? – Genadinik