iOS アプリケーションで IRate を使用しています。
コードで 2 つのクラスの iRate を処理しました。これは appDelegate の私のコードです
+ (void)initialize
{
//set the bundle ID. normally you wouldn't need to do this
//as it is picked up automatically from your Info.plist file
//but we want to test with an app that's actually on the store
[iRate sharedInstance].applicationBundleID = @"com.s.s";
[iRate sharedInstance].onlyPromptIfLatestVersion = NO;
//enable preview mode
[iRate sharedInstance].previewMode = NO;
//[iRate sharedInstance].daysUntilPrompt = 5;
//[iRate sharedInstance].usesUntilPrompt = 15;
}
ただし、これにより、プロンプトはアプリの開始時にのみ発生します。
ボタンクリックで開きたい。
手伝ってくれてありがとう