为什么 SKStoreReviewController 不允许我提交评论?

Why the SKStoreReviewController does not let me submit a review?

我成功实施了 SKStoreReviewController。但是当提示出现时,"Submit" 按钮是灰色的并且被禁用。

我以为是因为我处于调试模式,但是当我使用 Ad-Hoc PP 发布应用程序时,结果是一样的。

为什么?

Apple 为您提供答案right here

When you call this method in your shipping app and a rating/review request view is displayed, the system handles the entire process for you.

强调我的。

为了帮助澄清一些:

  1. 在 Xcode 中构建时,您将在屏幕截图中看到 OP 显示的内容
  2. 从 CI 发布解决方案构建时,您将看不到任何内容
  3. 当 运行 来自 TestFlight 时,您将看不到任何东西
  4. 当 运行 来自 AppStore 时,只有购​​买(免费或付费)您的应用的用户才能看到它 up to three times a year
  5. 当 运行 来自 AppStore 时,通过 Connect 促销代码获取您的应用程序的用户 will not see it
  6. 用户在设置[=43]iTunes 和应用程序商店下禁用应用程序内评分和评论 =] 应用在任何情况下都不会看到这些提示

Apple 在提供的 link:

中阐明了第 3 点

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.

对于第 5 点,以下是 Apple 在所提供的 link:

中必须说明的内容

However, customers aren’t able to rate or review an app that was downloaded using an iTunes Connect promo code.

很抱歉,您不能通过促销代码填充评论 ;)

Submit 按钮在开发版本中被禁用,视图甚至不会出现在试飞版本中。