Skip to main content

I am showing a PaywallViewController (iOS, UIKit) without a “Restore” button in my app (I am showing it in my own UI in a step before). Unfortunately, the “Continue” button now sits just at the top edge of the view which looks a bit unprofessional. I see no way to change this myself. Please see the attached screenshot (taken in the Catalyst version of our app). Thanks!

 

 

Hi ​@MAW , happy to help here. I’ve attempted to reproduce this, but the padding was present beneath the continue button each time (even without the restore button).

Which version of purchases-ios are you using? And would it be possible to share a code snippet which shows how you present the paywall within your app?


Hi ​@chris_perriam , one thing I forgot to mention is that I only encounter this problem in the macOS Catalyst version. I am using the swift package 5.24.0 of the SDK

The code is super straight forward:

if Reachability.shared.isConnected {
let pw = PaywallViewController(displayCloseButton: true)
pw.delegate = self
controller.present(pw, animated: true)
} else {
showSimpleAlert(title: "alert.no_connection.title".localized, message: "alert.no_connection.copy".localized)
}

 


Hi ​@MAW , thanks for the clarification. Does the issue also occur when temporarily changing the Mac Catalyst Interface to “Scaled to Match iPad”? I’ve attached a screenshot showing where to find this


Hi ​@chris_perriam, no, it does not happen when using the iPad UI idiom. But this is not suitable for our use case ;)


@MAW good to know, thanks for clarifying. We’ve reproduced the issue on our side and our Paywalls team is looking into it. I’ll update you when I have more information to share, including any timeline for a fix.