Lee
Results
3
comments of
Lee
and this doesn't: ` `
我想在页面完全出现后,执行一些操作,原计划是写在listDidAppear中,但是点击时,页面还没有完全出现,就触发了listDidAppear,不知道应该怎么实现。
因为方块是用下面的方法画的,如果需要设置任意圆角,继续使用画圆弧的方法也能实现,但是计算比较麻烦。 CGContextAddArc(ctx, center.x, center.y, _outerRadius, startAngle, endAngle, 0); CGContextAddArc(ctx, center.x, center.y, _innerRadius, endAngle, startAngle, 1); CGContextClosePath(ctx);