我无法在使用UIBezierPath创建的Arc上显示圆角。无论我是否设置kCGLineCapRound,它仍然是完美的平方。本主题应与thisone相同,但是解决方案不起作用。这是我在viewWillAppear中的示例代码(仅用于测试目的):intradius=100;CAShapeLayer*arc=[CAShapeLayerlayer];UIBezierPath*path=[UIBezierPathbezierPathWithArcCenter:CGPointMake(100,50)radius:radiusstartAngle:M_PIendAngle:M_PI/150clo