Posts

Post not yet marked as solved
3 Replies
908 Views
I'm trying to show a review alert using this code: DispatchQueue.main.asyncAfter(deadline: .now()+1, execute: { if let scene = UIApplication.shared.connectedScenes.first(where: { $0.activationState == .foregroundActive }) as? UIWindowScene {                 SKStoreReviewController.requestReview(in: scene)             }         }) I'm using MacOS Ventura, with minimum deployment target for macCatalyst as 14.0. This code works on iOS but nothing shows when running for macCatalyst in debug mode.
Posted Last updated
.