简体   繁体   English

适用于操作系统版本低于iOS 11的用户的应用程序评级

[英]In app rating for users with OS version below iOS 11

How would app users with iOS version lower than iOS 11 be able to rate an app? iOS版本低于iOS 11的应用用户如何评价应用?

Do I have to write conditional code something like this 我是否必须编写类似这样的条件代码

if (iOS11) {
    [SKStoreReviewController requestReview];
} else {
    //show custom review prompt and redirect to app store
}

Will Apple allow this or reject the app? Apple会允许这个或拒绝该应用吗? If Apple won't allow this then what should be done for other users? 如果Apple不允许这样做,那么应该为其他用户做些什么呢? Thanks in advance. 提前致谢。

Working and Tested Solution 工作和测试解决方案

if (NSClassFromString(@"SKStoreReviewController")) {

            [SKStoreReviewController requestReview];
        }
        else{
             //redirect user to AppStore
        }

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM