Skip to content

Busta117/SBRateApp

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

SBRateApp

iOS easy framework to Rate AppStore application

based on iRate but simpler.

Installation with CocoaPods

CocoaPods is a dependency manager for Objective-C, which automates and simplifies the process of using 3rd-party libraries like SBPickerSelector in your projects.

Podfile

platform :ios, '5.0'
pod "SBRateApp", "~> 0.1.2"

Installation without CocoaPods

  • 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];

About

iOS easy framework to Rate AppStore application

Resources

License

Stars

Watchers

Forks

Packages

No packages published