Is it not possible to change the background color of popovers in iOS 26? The backgroundColor property of UIPopoverPresentationController
seems to just get ignored when Liquid Glass is enabled.
Here’s a minimal repro:
let presentedVC = UIViewController()
presentedVC.modalPresentationStyle = .popover
presentedVC.view.backgroundColor = .clear
let popover = presentedVC.popoverPresentationController
popover?.sourceItem = button
popover?.backgroundColor = .red
present(presentedVC, animated: true)
If the UIDesignRequiresCompatibility
key is set to YES
, then the popover background color works as expected.