调用如下代码即可显示评分弹框
SKStoreReviewController.requestReview()
注意TestFlight下载的应用不会显示弹框
When you call this method while your app is still in development mode, a rating/review request view is always displayed so that you can test the user interface and experience. However, this method has no effect when you call it in an app that you distribute using TestFlight.
https://developer.apple.com/documentation/storekit/skstorereviewcontroller/2851536-requestreview