Skip to main content

I’m using the .presentPaywallIfNeeded(requiredEntitlementIdentifier: "Premium", presentationMode: .fullScreen) in SwiftUI. I like to use a hard paywall. yet I don’t see the option in anything else then React Native. Why isn’t this option available for SwiftUI

Hi ​@maarten,

Paywalls displayed with presentPaywallIfNeeded will have a close button on the presented sheet. However, a PaywallView will not have a close button by default. This gives you full control over how to navigate to and from your PaywallView. You can push it onto an existing navigation stack or show it in a sheet with a custom dismiss button using the SwiftUI toolbar.

 

Let me know if this works!


This is the approach I took. I yet don’t quite understand why this option isn’t available while it is available for other tech stacks 


Hi ​@maarten,

Just to confirm, with that approach you have a hard paywall correct? I’ll pass the feedback to the team anyway!

Best,


Reply