How can I set a border radius to a UIView
in swift
, but only in the top part, below it has to be straight
I currently have this:
caja!.layer.cornerRadius = 7.5
but it shows me the border in the whole box
Any solution?
Thanks