Skip to content

Repository files navigation

DEPRECATED -

App Store policy does not allow to use these kinds of frameworks anymore and suggest the native app rater https://developer.apple.com/documentation/storekit/skstorereviewcontroller

MBRateApp

[![CI Status](http://img.shields.io/travis/Mati Bot/MBRateApp.svg?style=flat)](https://travis-ci.org/Mati Bot/MBRateApp) VersionLicensePlatform

Usage

To run the example project, clone the repo, and run pod install from the Example directory first.

Customization

varrateUsInfo=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

Presentation

MBRateUs.sharedInstance.showRateUs(self, positiveBlock:{()->Voidin
//code to run when the user chose more than 3 stars and chose to rate in the app store
}, negativeBlock:{()->Voidin
//code to run when the user chose less than 4 stars and chose to send feedback
}){()->Voidin
//code to run when the user dismissed that screen without choosing anything
}

Requirements

Installation

MBRateApp is available through CocoaPods. To install it, simply add the following line to your Podfile:

pod"MBRateApp"

Author

Mati Bot, code@mati.bot

License

MBRateApp is available under the MIT license. See the LICENSE file for more info.

About

[DEPRECATED] A groovy app rate stars screen for iOS written in Swift:large_orange_diamond:

Resources

Stars

47 stars

Watchers

3 watching

Forks

Releases

Packages

Used by

Contributors

Languages