SKStoreReviewController
/** Request StoreKit to ask the user for an app review. This may or may not show any UI.
*
* Given this may not succussfully present an alert to the user, it is not appropriate for use
* from a button or any other user action. For presenting a write review form, a deep link is
* available to the App Store by appending the query params "action=write-review" to a product URL.
*/
if (@available(iOS 10.3, *)) {
#import <StoreKit/SKStoreReviewController.h>
[SKStoreReviewController requestReview];
}
note:
- 即使调用 requestReview, 也不一定会出现UI
- 测试环境不能点提交按钮