Skip to main content

iOS How to disable "ignore safe area"

  • February 8, 2025
  • 3 replies
  • 114 views

Forum|alt.badge.img+4

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
  • 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+4
  • Author
  • Member
  • 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
  • February 18, 2025

Hi ​@HenadziR,

That’s great! Thanks for sharing it.