Overview
Most of the time you’ll want to usepresentPayall() (or presentUpsell() depending on your SDK version) to show paywalls. This approach is covered in each platform’s quickstart guide (see navigation menu on the left). But if you need more control over how and where paywalls appear in your app, there are a few other options.
iOS
Embedded View
Example with PaywallEventHandlers
Example with PaywallEventHandlers
SwiftUI ViewModifier
Attach a paywall to any SwiftUI view using the.heliumPaywall view modifier:
If you are using UIKit, you can use a UIHostingController.
Android
Embedded Paywall (Compose)
Flutter
Widget Integration
Embed a paywall directly in your widget tree usingHeliumFlutter.getUpsellWidget: