1

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;
}

ただし、これにより、プロンプトはアプリの開始時にのみ発生します。

ボタンクリックで開きたい。

手伝ってくれてありがとう

4

1 に答える 1

2

ユーザーをアプリストアに誘導し、アプリを直接レビューできます。次の行をボタン クリック アクションに追加します。

[[iRate sharedInstance] openRatingsPageInAppStore];
于 2013-03-08T03:53:55.663 に答える