UIBezierPath Triangle with rounded edges
Edit FWIW: This answer serves its educational purpose by explaining what CGPathAddArcToPoint(…) does for you. I would highly recommend that you read through it as it will help you understand and appreciate the CGPath API. Then you should go ahead and use that, as seen in an0’s answer, instead of this code when you round … Read more