iosobjective-cappirater

APPIRATER setsignificantevent iOS


Basically I am using appirator to let user for rating my app only when the user does some signification events.Here is it how I have done it. 1.Have set the following in my app delegate

[Appirater setAppId:jumpStart.appID];
[Appirater setSignificantEventsUntilPrompt:3];
[Appirater appLaunched:YES];

2.Now in one of my view controller there is a button which tells the user to provide feedback.If the user has hit the button,then on its action I have provided the following.

[Appirater userDidSignificantEvent:YES]; 

Now,if the user has hit the button3 times then the Rating popup should appear.But,this is not happening.Can anybody let me know where is it that I am going wrong.Do I need to do something else apart from this.


Solution

  • simply use this.

    [Appirater setAppId:@"122133"];
    [Appirater setDaysUntilPrompt:0];
    [Appirater setUsesUntilPrompt:0];
    [Appirater setSignificantEventsUntilPrompt:3];
    [Appirater appLaunched:YES];