我在我的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;
}但到目前为止,促销只能在应用程序开始时出现。
我想在点击按钮时打开它。
感谢你的帮助
发布于 2013-03-08 11:53:56
您可以引导用户直接对您的应用进行应用存储和审核。将下面这一行添加到按钮单击操作中:
[[iRate sharedInstance] openRatingsPageInAppStore];https://stackoverflow.com/questions/15286302
复制相似问题