#import <StoreKit/StoreKit.h>
if (@available(iOS 14.0, *)) {
UIWindowScene *scene = self.view.window.windowScene;
[SKStoreReviewController requestReviewInScene:scene];
} else if (@available(iOS 10.3, *)){
[SKStoreReviewController requestReview];
}

网友评论