Skip to main content
Question

How to display paywall in SwiftUI macOS?

  • November 16, 2024
  • 2 replies
  • 111 views

Air

I created a Multiplatform app in Xcode. This app has two platforms, iOS and macOS, and users can use it at the same time no matter which platform they purchase on. Currently, the paywall can be displayed correctly when debugging on iOS, but I don't know how to display the paywall on macOS. How can I make the paywall display on the macOS platform app so that users can make purchases?

When switching to My Mac, a code error is displayed:
Value of type 'some View' has no member 'presentPaywallIfNeeded'

 

This post has been closed for comments

2 replies

Air
  • Author
  • 5 replies
  • November 17, 2024

😅


wes_clark
RevenueCat Staff
Forum|alt.badge.img+6
  • RevenueCat Staff
  • 292 replies
  • November 22, 2024

Hi! MacOS is not currently one of our supported platforms for Paywalls. You can find a list of the supported platforms here


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