Appirater is a class that you can drop into any iPhone app (iOS 4.0 or later) that will help remind your users to review your app on the App Store. The code is released under the MIT/X11, so feel free to modify and share your changes with the world. To find out more, check out the project homepage.
- Add the Appirater code into your project.
- Add the
SystemConfigurationframeworks to your project.
- If you want to take advantage of StoreKit's in-app rating view (iOS 6), add the
StoreKitframework. Be sure to change Required to Optional for StoreKit in your target's Build Phases » Link Binary with Libraries section.
[Appirater setAppId:@"yourAppId"]with the app id provided by Apple. A good place to do this is at the beginning of your app delegate's
[Appirater appLaunched:YES]at the end of your app delegate's
[Appirater appEnteredForeground:YES]in your app delegate's
- (OPTIONAL) Call
[Appirater userDidSignificantEvent:YES]when the user does something 'significant' in the app.
Appirater provides class methods to configure its behavior. See
Appirater.h for more information.
[Appirater setAppId:@"552035781"]; [Appirater setDaysUntilPrompt:1]; [Appirater setUsesUntilPrompt:10]; [Appirater setSignificantEventsUntilPrompt:-1]; [Appirater setTimeBeforeReminding:2]; [Appirater setDebug:YES];
Copyright 2012. Arash Payan. This library is distributed under the terms of the MIT/X11.
While not required, I greatly encourage and appreciate any improvements that you make to this library be contributed back for the benefit of all who use Appirater.