Is there a way to set cornerRadius for only top-left and top-right corner of a UIView?
cornerRadius
UIView
I tried the following, but it end up not seeing the
If you're looking for an interface builder only solution there is one for iOS 11 and higher. See my answer here: https://stackoverflow.com/a/58626264