Latest 3.4.0
License MIT
Platforms ios 10.3, requires ARC

Swift 5.0
CocoaPods Compatible

A simple helper to show a SKStoreReviewController (iOS 10.3 or above) or custom UIAlertController with similar rules and behaviours.

iOS 11

Apple has updated the app store guidlines and it seems that with iOS 11 you are no longer allowed to show custom review prompts, at least automatic ones. I assume this also will apply to tvOS which sucks a bit because SKStoreReviewController is not supported on tvOS.


  • iOS 10.3+
  • Swift 5.0+


CocoaPods is a dependency manager for Cocoa projects. Simply install the pod by adding the following line to your pod file

pod 'SwiftyRate'

There is now an app which makes handling pods much easier

Altenatively you can drag the swift file(s) manually into your project.


  • Add the import statment when you installed via cocoa pods.
import SwiftyRate 
  • Request review

As Apple describes in the documentation for SKStoreReviewController

"Although you should call this method when it makes sense in the user experience flow of your app, the actual display of a rating/review request view is governed by App Store policy. Because this method may or may not present an alert, it’s not appropriate to call it in response to a button tap or other user action."


SwiftyRate.request(from: self, afterAppLaunches: 15)

SKScene (needs to be called outside/after DidMoveToView or it will not work)

if let viewController = view?.window?.rootViewController {
     SwiftyRate.request(from: viewController, afterAppLaunches: 15)

Latest podspec

    "name": "SwiftyRate",
    "version": "3.4.0",
    "license": "MIT",
    "summary": "A Swift helper to show a SKStoreReviewController or a custom review UIAlertController.",
    "homepage": "",
    "social_media_url": "",
    "authors": {
        "Dominik": "[email protected]"
    "requires_arc": true,
    "platforms": {
        "ios": "10.3"
    "source": {
        "git": "",
        "tag": "3.4.0"
    "source_files": "SwiftyRate/**/*.{swift}"

Pin It on Pinterest

Share This