iOS 10.3 应用内评分

链接

官方原文
SKStoreReviewController
Ratings and Reviews

引用

iOS 10.3 introduces a new way to ask customers to provide App Store ratings and reviews for your app. Using the SKStoreReviewController
API, you can ask users to rate or review your app while they're using it, without sending them to the App Store. You determine the points in the user experience at which it makes sense to call the API and the system takes care of the rest.
When iOS 10.3 ships to customers, you will be able to respond to customer reviews on the App Store in a way that is available for all customers to see. (This feature will also be available on the Mac App Store.)

代码
 if ([[[UIDevice currentDevice] systemVersion] doubleValue] >= 10.3)
 {
        [SKStoreReviewController requestReview];
 }
通过查看文档 Discussion 总结

1.苹果禁止在应用内通过按钮点击或者用户交互调用这个方法;
2.在开发模式下,评分页面始终可以展示(方便调试),无法提交,TestFlight 测试环境无效果;
3.弹出限制有系统控制,但是依然可以在设置等某些地方添加跳转到App Store引导评论、评分的选项;

有个问题,虽然系统限制了 3 次,是否要客户端限制弹出频率???
TestFlight 也无效,怎么测试???
important

如下图,苹果限制了 365 天一个周期只弹 3 次

image.png

你可能感兴趣的:(iOS 10.3 应用内评分)