2016-11-07 95 views
0

在iOS中评估应用程序,所以我使用的是Appirater框架。但它不能正常工作。这是我的代码。 5天后我必须设置。我处于调试模式。Ios Appirater在Ios中无法正常工作10

[Appirater setAppId:@"456546456"]; 
    [Appirater setDaysUntilPrompt:0]; 
    [Appirater setUsesUntilPrompt:0]; 
    [Appirater setSignificantEventsUntilPrompt:-1]; 
    [Appirater setTimeBeforeReminding:0]; 
    [Appirater setDebug:YES]; 
    [Appirater appLaunched:YES]; 

当我点击按钮时,我必须打开此警报,这里是我的代码。

[Appirater userDidSignificantEvent:YES]; 

回答

1

您需要将正值传递给setSignificantEventsUntilPrompt:。负值会将Appirater配置为忽略重要事件,这就是为什么您致电userDidSignificantEvnet:什么都不做。

另外,删除setDebug:。这对你没有用处。 :-)