from above, respectively
Code added to AppDelegate.swift,
Code added to SceneDelegate.swift,
Code added to class using Storereviewcontroller
is.
A few days have passed since these were added, but as far as I can see from the report, UIResponder crashes have not occurred on iOS15.7.
Of course, your case may be slightly different, so there is no guarantee that you will be able to solve the problem in the same way.
But I hope I can help you solve your problem.
Post
Replies
Boosts
Views
Activity
I left the result and the code in the comments, so please check it.
Hi,
I did it like this.
`class MainViewController: UIViewController {
// main code
}
@available(iOS, introduced: 15.7, obsoleted: 16.0)
@objc extension SKStoreProductViewController {
func sceneDisconnected(_ arg: AnyObject) { }
func appWillTerminate() { }
}`