TestsTested | ✗ |
LangLanguage | SwiftSwift |
License | MIT |
ReleasedLast Release | Apr 2016 |
SPMSupports SPM | ✗ |
Maintained by Mati Bot.
To run the example project, clone the repo, and run pod install
from the Example directory first.
var rateUsInfo = MBRateUsInfo() //get the default settings
//override any attribute
rateUsInfo.title = "Enjoying The League?"
rateUsInfo.titleImage = UIImage(named: "icon")
rateUsInfo.itunesId = "893653132"
//set the value in the shared instance
MBRateUs.sharedInstance.rateUsInfo = rateUsInfo
MBRateUs.sharedInstance.showRateUs(self
, positiveBlock: { () -> Void in
//code to run when the user chose more than 3 stars and chose to rate in the app store
}, negativeBlock: { () -> Void in
//code to run when the user chose less than 4 stars and chose to send feedback
}) { () -> Void in
//code to run when the user dismissed that screen without choosing anything
}
MBRateApp is available through CocoaPods. To install it, simply add the following line to your Podfile:
pod "MBRateApp"
Mati Bot, [email protected], @b0tnik
MBRateApp is available under the MIT license. See the LICENSE file for more info.