Skip to main content

iOS How to disable "ignore safe area"


Forum|alt.badge.img+3

My paywall layout overlaps with iOS’s top bar and this looks awful, why don’t you give an access to a wider options of starting a paywall view with ability to disable ignore safe area??

This post has been closed for comments

3 replies

joan-cardona
RevenueCat Staff
Forum|alt.badge.img+6
  • RevenueCat Staff
  • 310 replies
  • February 12, 2025

Hi ​@HenadziR,

 

Would you mind sharing how are you presenting the paywall? And are you using paywalls v1 or v2?

In case you are not doing it, you can present the view manually like any other view in SwiftUI using `PaywallView()`

.sheet(isPresented: self.$displayPaywall) {
                PaywallView(displayCloseButton: true)
            }

Let me know if this helps!


Forum|alt.badge.img+3
  • Author
  • Member
  • 9 replies
  • February 12, 2025

v2, I present it manually, I have found that if I set add a stack on top of a paywall inside the visual editor of v2 paywalls then the safe area is respected, so I somehow solved the problem with the workaround


joan-cardona
RevenueCat Staff
Forum|alt.badge.img+6
  • RevenueCat Staff
  • 310 replies
  • February 18, 2025

Hi ​@HenadziR,

That’s great! Thanks for sharing it.


Cookie policy

We use cookies to enhance and personalize your experience. If you accept you agree to our full cookie policy. Learn more about our cookies.

 
Cookie settings