Reputation: 830
I'm using Appirater for rating my app. Everything is fine, alert shows me message with buttons. But when I tap on button "Rate my app" there's no answer Appirater my app. Alert just disappeared. There's my code in my app delegate:
[Appirater setAppId:@"579808129"];
[Appirater setDaysUntilPrompt:0];
[Appirater setUsesUntilPrompt:2];
[Appirater setTimeBeforeReminding:2];
[Appirater setDebug:YES];
[Appirater appLaunched:YES];
Thx for reply.
Upvotes: 2
Views: 1159
Reputation: 830
I'm using slide menu in my application. And there's problem because I have controller which is support for slide menu like rootViewController, so when I load appirater controller it's controller with menu. So I'm going to change somehow appirater get-root-controller function. Thx for all guys! ;)
Upvotes: -1
Reputation: 1562
Add this line to appirater.h
#define APPIRATER_DEBUG YES
You could see the appirater popup on simulator. But you should use device for rating the app.
Upvotes: 1
Reputation: 9414
Make sure you set your delegate and also subscribe to the delegate from your class with
<@interface MyAppDelegate : UIResponder <UIApplicationDelegate, AppiraterDelegate>{
[Appirater setDelegate:self];
[Appirater setAppId:APPIRATER_APP_ID_HERE];
[Appirater setDaysUntilPrompt:1];
[Appirater setUsesUntilPrompt:10];
[Appirater setSignificantEventsUntilPrompt:-1];
[Appirater setTimeBeforeReminding:2];
[Appirater appLaunched:YES];
[Appirater setDebug:YES];
Upvotes: 2
Reputation: 4119
Appirater will not send you to the app store on the simulator unless you are on ios6+. Are you testing on either the ios6+ simulator OR an actual device?
Upvotes: 3