KKRateMyApp is a simple Swift rate app library that prompts your app users to rate the app after using it for a X times.
- Xcode 8 or higher
- iOS 10.3 or higher
All you need is import
KKRateMyApp.swift to your project folder.
- In your AppDelegate,
didFinishLaunchingWithOptionsadd the following:
//Replace with the number of tries before you prompt the user with the rating alert. (Default 5) KKRateMyApp.sharedInstance.numberOfTimesBeforePrompts = 5 //This will check how many times the app has run and based on the number you provided earlier it will display the rating alert view. KKRateMyApp.sharedInstance.rateApp()