A simple library for reminding your users to rate your app.
BSD 3-Clause, see the LICENSE file for the full license.
- Targeting iOS 5.0+ by default, may work on 4.0+ but haven't tested it
- This library uses automatic reference counting (ARC), but should support projects using both ARC and manual reference counting if added as a subproject (details below).
- Drag RatingReminder.xcodeproj into your project
- Click your project and then your build target. Expand the "Target Dependencies" row. Add "UniversalLib (RatingReminder)" as a dependency.
- Expand the "Link Binary With Libraries" row and add the libRatingReminder.a library.
- Add the following code to your AppDelegate's
didFinishLaunchingWithOptions
method:
- (BOOL)application:(UIApplication *)application didFinishLaunchingWithOptions:(NSDictionary *)launchOptions
{
RatingReminder *reminder = [RatingReminder sharedReminder];
reminder.debug = YES; // debug mode causes the alert to appear every time the app is opened or focused
reminder.appId = 12345678; // or whatever your AppId is
[reminder appLaunched];
// etc.
}