I have a problem changing the backgroundcolor and making rounded corners the same time.
droppedView.roundCorners(corners: .bottomLeft, radius: 7)
droppedView.roundCorners(corners: .bottomRight, radius: 7)
droppedView.backgroundColor = .systemGray6
When I do it like this, my View has rounded corners, but there is no backgroundcolor.
Is there a solution to this problem?