I've set its popoverBackgroundViewClass
to a custom UIPopoverBackgroundView
, and there I do:
override init(frame: CGRect) {
super.init(frame: frame)
backgroundColor = UIColor.clear
// more stuff here
}
But the popover keeps showing a very light black or grey dim behind.
I've seen posts like this one with similar issue and no solution found. That post is related to UIPopoverController
that is deprecated, I'm using UIPopoverPresentationController
, is it really possible to do this? Has somebody found a way?