SKStoreReviewController.requestReview() 停止在调试模式下工作

SKStoreReviewController.requestReview() stop to work in debug mode

我有一个应用程序,我在用户执行某些操作 10 次后调用方法 SKStoreReviewController.requestReview ()。提示停止出现,即使调试告诉我正在调用方法 requesrReview

会发生什么?

来自 Apple 文档:

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.

弹出窗口只会有时显示,并且由 SKStoreReviewController 决定何时显示,因此您不能保证它永远显示。