Describe the bug
UIKit iOS/iPad OS app.
When presenting a PaywallViewController either on an iPad (both landscape and portrait) or on an iPhone Pro Max in landscape mode, it will enable some Split-view behaviour resulting in an invisible or partial paywall view.
It happens only when you put this parameter: displayCloseButton: true
let controller = PaywallViewController(offering: offering, displayCloseButton: true)
controller.delegate = self
self.present(controller, animated: true)
- Environment
- Platform: iPhone 15 Pro Max & iPad Pro 11 inch
- SDK version: 4.30.5
- StoreKit version:
- OS version: iOS 17.1.1 & iPad OS 17.0.1
- Xcode version: 15.0.1
- Device and/or simulator:
- Environment:
- How widespread is the issue. Percentage of devices affected. 100% of Pro Max / iPad
- Debug logs that reproduce the issue. Complete logs with
Purchases.logLevel = .verbose will help us debug this issue.
Nothing is happening in the logs, no constraints break or anything
- Steps to reproduce, with a description of expected vs. actual behavior
I haven't tried on a SwiftUI project but with a UIKit project with different orientations enabled.
On a regular UIViewController, running on an iPad Pro or a iPhone 15 Pro Max in landscape mode, simply do this and it should reproduce the issue.
self.present(PaywallViewController(displayCloseButton: true), animated: true)
- Other information (e.g. stacktraces, related issues, suggestions how to fix, links for us to have context, eg. stackoverflow, etc.)
Here is a screenshot : https://share.cleanshot.com/nrtSmgPJ
Describe the bug
UIKit iOS/iPad OS app.
When presenting a PaywallViewController either on an iPad (both landscape and portrait) or on an iPhone Pro Max in landscape mode, it will enable some Split-view behaviour resulting in an invisible or partial paywall view.
It happens only when you put this parameter: displayCloseButton: true
usesStoreKit2IfAvailable(true))Purchases.logLevel = .verbosewill help us debug this issue.I haven't tried on a SwiftUI project but with a UIKit project with different orientations enabled.
On a regular UIViewController, running on an iPad Pro or a iPhone 15 Pro Max in landscape mode, simply do this and it should reproduce the issue.
self.present(PaywallViewController(displayCloseButton: true), animated: true)Here is a screenshot : https://share.cleanshot.com/nrtSmgPJ