In app rating for users with OS version below iOS 11

501 Views Asked by At

How would app users with iOS version lower than iOS 11 be able to rate an app?

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? If Apple won't allow this then what should be done for other users? Thanks in advance.

1

There are 1 best solutions below

0
On BEST ANSWER

Working and Tested Solution

if (NSClassFromString(@"SKStoreReviewController")) {

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