2

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?

AppsDev
  • 12,319
  • 23
  • 93
  • 186
  • Possible duplicate of [Turning off dimming by UIPopoverController](http://stackoverflow.com/questions/20550550/turning-off-dimming-by-uipopovercontroller) – KKRocks Apr 19 '17 at 07:21
  • @KKRocks that is regarding the old `UIPopoverController` – AppsDev Apr 19 '17 at 07:26
  • what is the difference in old UIPopoverController – KKRocks Apr 19 '17 at 08:03
  • @KKRocks `UIPopoverController` is deprecated, now we have `UIPopoverPresentationController`, different API and maybe different behavior and options for being customized, I don't know. – AppsDev Apr 19 '17 at 08:10

0 Answers0