I have a volumetric app. I am trying to present a review prompt using SKStoreReviewController's requestReview(in:) I'm using the code below:
if let scene = UIApplication.shared.connectedScenes.first(where: { $0.activationState == .foregroundActive }) as? UIWindowScene {
SKStoreReviewController.requestReview(in: scene)
}
When this code executes, though, I get a crash with the error:
Presentations are not permitted within volumetric window scenes.
What is the proper way to do this for a volumetric app?
Post
Replies
Boosts
Views
Activity
My code was working in beta 7 but since I updated I'm getting the following error when trying to init a RealityView
'init(make:update:attachments:)' is unavailable in visionOS
I'm using:
RealityView { content, attachments in
// Code ...
} update: { content, attachments in
// Code ...
} attachments: {
// Code ...
}