Open MohamedAymenHADDAD opened 6 years ago
@MohamedAymenHADDAD you can add shadow like this:
self.popover?.shadowOpacity = 1
self.popover?.shadowOffset = CGSize(width: 3, height: 3)
self.popover?.shadowRadius = 3
self.popover?.opacity = 1
@MohamedAymenHADDAD
popover?.layer.shadowOffset = CGSize(width: -3, height: 0) popover?.layer.shadowColor = UIColor.black.cgColor popover?.layer.shadowRadius = 3.0 popover?.layer.shadowOpacity = 1
I don't know if you could support this but would it possible to have a shadow instead of an overlay ? thank you :)