Skip to main content
Question

Is it possible to use presentPaywallIfNeeded with a footer paywall?

  • September 5, 2024
  • 1 reply
  • 62 views

Forum|alt.badge.img+6

I’m using a footer paywall:

struct Paywall: View {
    var body: some View {
        ScrollView {
            VStack {
       …
            }
        }
        .paywallFooter()
    }
}

However, by doing so, it seems that there is no way to use the “presentPaywallIfNeeded” method, and that I would have to re-implement the logic myself. Is this correct?

1 reply

Forum|alt.badge.img+8
  • RevenueCat Staff
  • 512 replies
  • March 17, 2025

Hi ​@bvrlt , sorry for the delay here, we were looking through our system and found this was never answered. 

You cannot use presentPaywallIfNeeded with a footer paywall. You can simulate the behavior of presentPaywallIfNeeded by putting an if statement around the paywall footer view modifier and check for the customer’s entitlement.


Reply


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