Change popover background color in iOS 26

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.

Thanks for the post.

Do you get the same results with just the relevant code in a small test project? If so, please share a link to your test project. That'll help us better understand what's going on. If you're not familiar with preparing a test project, take a look at Creating a test project.

If you could provide me with the sample, I can test it myself. However, if this is a bug, are you testing it with different versions of iOS?

Let’s get to the bottom of the issue!

Albert Pascual
  Worldwide Developer Relations.

Hi Albert,

Thanks for your reply. I’ve uploaded a sample project here.

Additionally, here are screenshots with Liquid Glass enabled and disabled respectively. Only when Liquid Glass is disabled does the popover background color appear:

Thank you for sharing the post and providing all the necessary information. I greatly appreciate your efforts. Let us proceed with filing a bug report for the sample and its description.

Once you open the bug report, please post the FB number here for my reference as I am very interested in this issue.

If you have any questions about filing a bug report, take a look at Bug Reporting: How and Why?

Looking forward to get to the bottom of this.

Albert Pascual
  Worldwide Developer Relations.

Thanks Albert. I’ve filed FB20714325

@neil95 This is great!!

Thank you so much for this. I see you included a link to the code. I would recommend to zip it and upload it into the bug itself.

You can see the status of your feedback in Feedback Assistant. There, you can track if the report is still being investigated, has a potential identifiable fix, or has been resolved in another way. The status appears beside the label "Resolution." We're unable to share any updates on specific reports on the forums.

For more details on when you'll see updates to your report, please see What to expect after submission.

I'll keep an eye out for issue and fix.

Albert Pascual
  Worldwide Developer Relations.

Change popover background color in iOS 26
 
 
Q