I'm trying to remove the dimming view behind a popover presented using UIPopoverPresentationController. I've implemented a custom UIPopoverBackgroundView, but there doesn't seem to be a way to get rid of this dimming view.
I've tracked the dimming view to a "_UIMirrorNinePatchView" using the view hierarchy inspector, but there's no good way of removing it short of crawling through the subviews of UIWindow and manually removing this view from its superview. This approach is flawed as it briefly flashes the dimming view before it's removed.
Any suggestions?