我安裝,可以在這裏找到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