ios - SKStoreReviewController.requestReview() 停止在 Debug模式下工作

标签 ios swift3 ios10.3

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

会发生什么?

最佳答案

来自苹果文档:

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 决定何时显示,因此您不能保证它会显示。

关于ios - SKStoreReviewController.requestReview() 停止在 Debug模式下工作,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/46572651/

相关文章:

Swift ObjectMapper 不调用 didSet

ios - 本地通知并对存档进行更改

ios - iOS 10.3.2 中未安装 MDM 配置文件

ios - 当我使用 StoreKit 的 requestReview 功能时,有什么方法可以知道用户是否点击了提交或不现在或取消按钮?

ios - Office 365 SharePoint 列表通知新项目

ios - 使用 UIImageView 参数添加 UIView 来查看

ios - 在 App 和 Today Extension 中使用 Firebase 不起作用

ios - 实现自定义表格 View 单元格

ios - 迁移到惯用的 Swift 2 的 list (也就是 Swift 2 转换指南在哪里)?

ios - 如何编辑 Firebase 数据库中的多个数据?