Skip to main content
Question

Major issue with RevenueCat Paywall on iPad / iPhone Pro Max landscape mode

  • November 21, 2023
  • 4 replies
  • 649 views

Forum|alt.badge.img+3

Hi, I’m using UIKit so I don’t know if this is also a problem with a SwiftUI implementation, but I just noticed a major issue with RevenueCat Paywalls.

When you’re using an iPad (or an iPhone Pro Max in Landscape mode) and setting up the paywall with displayCloseButton: true, the paywall is either completely blank or with a split-view menu on the leftI tried a bunch of stuff to try to lock the PaywallViewController to portrait mode but none of it worked.

 

I upload a screenshot took on an iPad Pro 11’’ running iPadOS 17 and the 2 others are from my iPhone 15 Pro Max running iOS 17.

(the same bug happens on iOS 15 and 16)

 

This post has been closed for comments

4 replies

Forum|alt.badge.img+3
  • Author
  • New Member
  • November 21, 2023

I actually found where the issue comes from (I updated my post it’s because of the displayCloseButton parameter) so maybe we should close this post ? 

 

I created a ticket on github: https://github.com/RevenueCat/purchases-ios/issues/3465


Andy
RevenueCat Staff
Forum|alt.badge.img+8
  • RevenueCat Staff
  • November 21, 2023

Thanks again for reporting! I made a PR with the fix and replied in github, maybe we can close this one out and keep the conversation unified there


Forum|alt.badge.img+6
  • New Member
  • January 25, 2024

Still an issue. Had to discontinue iPad support for my app for this reason alone. I would hate for this to be the reason to have to stop using RC, everything else is great. But I can’t justify not supporting iPad either. I’m referring to the UI, not the close button.


Andy
RevenueCat Staff
Forum|alt.badge.img+8
  • RevenueCat Staff
  • January 25, 2024

@VR93 which version of the SDK are you using? I just tested on a sample app and it’s displaying correctly on my iPad in Landscape: 

 

 

If you’re on the latest iOS SDK (4.32.2 at the time of writing) and still seeing issues, how are you presenting the paywall?