File tree Expand file tree Collapse file tree 1 file changed +8
-10
lines changed
Expand file tree Collapse file tree 1 file changed +8
-10
lines changed Original file line number Diff line number Diff line change @@ -5,7 +5,7 @@ An easy way to access reviews for your app instead of writing repetitive and red
55
66## Requirements
77
8- iOS 9.0+, Swift 5.5
8+ iOS 9.0+, Swift 5.5+
99
1010
1111## Installation
@@ -22,17 +22,15 @@ iOS 9.0+, Swift 5.5
2222``` swift
2323import AppStoreReviewManager
2424
25- // Get App Store page url String for your app
26- let urlString = AppStoreReviewManager.appStorePageURLString (with : YOUR_APP_APP_STORE_ID)
25+ // Get the App Store product page URL with a given App Store ID.
26+ let productURL = AppStoreReviewManager.productURL (with : YOUR_PRODUCT_APP_STORE_ID) !
2727
28- // Open App Store page for your app
29- AppStoreReviewManager.openAppStorePage (with : YOUR_APP_APP_STORE_ID)
28+ // Tells StoreKit to ask the user to rate or review your app, if appropriate.
29+ // This is a convenient wrapper method for `SKStoreReviewController.requestReview()` and `SKStoreReviewController.requestReview(in:)`.
30+ AppStoreReviewManager.requestReview ()
3031
31- // Request review without leaving your app
32- AppStoreReviewManager.requestReviewInApp ()
33-
34- // Open App Store review page for your app to review
35- AppStoreReviewManager.requestReviewInAppStore (with : YOUR_APP_APP_STORE_ID)
32+ // Open the App Store product page and present a write review form in the App Store.
33+ AppStoreReviewManager.openProductPageForReview (with : YOUR_PRODUCT_APP_STORE_ID)
3634```
3735
3836
You can’t perform that action at this time.
0 commit comments