我在我的 ios 应用程序中使用 IRate。
我在我的代码中处理了两类 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;
}
但是通过这个提示只能在应用程序启动时出现。
我想在按钮单击中打开它。
感谢帮助