Documentation

UserReviewController

A Swift Controller Class that handles routing a user to the App Store review page to manually leave a review.

If you’re looking for the in-app review prompt, you’ll need to situationally call the requestReview StoreKit environment function where wherever it makes the most sense.

Be careful as Apple does not allow the in-app review prompt to be seen more than 3 times per year. In these cases, it makes sense to utilize UserReviewController to route users directly to your store page – at their discretion.

Usage

Get your App’s Store Page URL:

let storeURL = UserReviewController.reviewURL()

Deeplink to your App Store Page:

UserReviewController.openAppStoreReview()

Notes

  • To generate the proper App Store page URL, you need to integrate your own store identifier. This can be set in /Application/Resources/Configurations/Release.xcconfig, which will autotically get picked up by UserReviewController.