How to set corner radius only only bottom-left,bottom-right and top-left corner textview?
let rectShape = CAShapeLayer() rectShape.backgroundColor = UICo
ez way
for subview & POPUPs [Swift 5]
override func layoutSublayers(of layer: CALayer) { searchBarPopup.clipsToBounds = true searchBarPopup.layer.cornerRadius = 10 searchBarPopup.layer.maskedCorners = [ .layerMaxXMinYCorner, .layerMinXMinYCorner] }
output:
image