ios – SKStoreProductViewController dismisses underlying viewcontroller in maccatalyst


I need to present an SKStoreProductViewController over a view controller that is modally presented in Mac Catalyst. However, tapping the Done button in the SKStoreProductViewController dismisses the underlying view controller.
I’ve attempted the following steps:

  • presenting the underlying view controller in full-screen style
  • returning false in UIAdaptivePresentationControllerDelegate.presentationControllerShouldDismiss.

According to Apple documentation, pushing the store view controller is not allowed. Are there alternative solutions to address this behavior?

Latest articles

spot_imgspot_img

Related articles

Leave a reply

Please enter your comment!
Please enter your name here

spot_imgspot_img