iOS easy framework to Rate AppStore application
based on iRate but simpler.
CocoaPods is a dependency manager for Objective-C, which automates and simplifies the process of using 3rd-party libraries like SBPickerSelector in your projects.
platform :ios, '5.0'
pod "SBRateApp", "~> 0.1.2"
- import in your project the folder "SBRateApp"
###USE
- in your code import SBRateApp.h
#import "SBRateApp.h"
- the use es too simple, you only need insert this following code in the AppDelegate of your app, the two first lines are necessary, the other ones are optional.
[SBRateApp rateApp].appStoreID = 123456; //real AppStore ID from itunes
[SBRateApp rateApp].usesUntilPrompt = 5; //times until prompt the alert
//you can custom all about message, these options are optional
[SBRateApp rateApp].applicationName = @"My App"; //Optional
[SBRateApp rateApp].messageTitle = @"title custom";
[SBRateApp rateApp].message = @"Custom Message";
[SBRateApp rateApp].cancelButtonLabel = @"cancel custom";
[SBRateApp rateApp].remindButtonLabel = @"remind later custom";
[SBRateApp rateApp].rateButtonLabel = @"Rate now custom";
//you can execute this method to fire the rate action wherever you want
[[SBRateApp rateApp] rateNow];