Why does UIBezierPath roundedRect have strange gaps in iOS Swift?
I need to draw a rounded rect. However, at very special corner radius values (between 34 to 37), it causes very strange bugs like the image below. Can someone explain to me why it happened? class ViewController: UIViewController { override…