I'm currently working on an iOS project written in Objective-C and recently noticed that SKStoreReviewController
seems to have been deprecated. From what I've gathered, there's a new method called RequestReviewAction
that replaces the in-app review request process.
However, I'm having trouble finding documentation or examples on how to implement RequestReviewAction
in Objective-C code.
Could anyone guide me on how to use RequestReviewAction
or integrate the new review request method in an Objective-C project?
Thank you so much for your help!
I don't not how about Objective-C project. UIKit i found this solution.
if let scene = UIApplication.shared.connectedScenes.first(where: { $0.activationState == .foregroundActive }) as? UIWindowScene {
if #available(iOS 18, *) {
AppStore.requestReview(in: scene)
} else {
SKStoreReviewController.requestReview(in: scene)
}
}
AppStore.requestReview(in: scene) - minimum IOS version 16.0