Home
1 application Binary restricted distribution Commercial use allowed Can modify source Read full license | More Info
5 applications Binary restricted distribution Commercial use allowed Can modify source 6 months support Read full license | More Info
Unlimited projects Source and binary distribution Commercial use allowed Distribute modifications 6 months support Read full license | More Info
Starting from $ 9.99
One of the most important things you need to do in your iOS app, is ask the user to rate your app.
This alone will boost your download rate, as users first check what other thought of your app before deciding if they are willing to pay.
Provided is an independent class that automatically checks the last time a rate suggest alert was shown, and knows if one should be displayed.
Supports iOS 6.
Thread safe, uses singleton design pattern.
Adjusted for ARC. If your code is using RC, add a "-fobjc-arc" to RateSuggestService.m compiler flags.
After adding the class to your project, add these lines of code to application:didFinishLaunchingWithOptions:, change the suggest interval to you desired value, in days -
NSString *rateUrl = [NSString stringWithFormat:@"http://itunes.apple.com/WebObjects/MZStore.woa/wa/viewContentsUserReviews?id=%d&pageNumber=0&sortOrdering=1&type=Purple+Software", APP_ID];
[[RateSuggestService sharedService] setSuggestInterval:7];
[[RateSuggestService sharedService] setRateUrl:rateUrl];
[[RateSuggestService sharedService] setAlertTitle:NSLocalizedString(@"Rate MyApp", nil)
body:NSLocalizedString(@"Would you mind taking a moment and rate MyApp?", nil)
buttonYes:NSLocalizedString(@"Yes", nil)
buttonNo:NSLocalizedString(@"No, thanks", nil)];
Then, you want to check if rate suggest is required every time your app becomes active, place this code at applicationDidBecomeActive: -
[[RateSuggestService sharedService] check];
That's it!
Provided example that demonstrate how to use this service, but it's pretty what is shown here above.
Feel free to ask me anything through the issues tab.
Starting from $ 9.99
Questions & Comments
Leave a comment
Log-in now or register for a free account.