iPhone: Drawing a curved line until it becomes a circle animation

前端 未结 3 1076
逝去的感伤
逝去的感伤 2021-01-01 01:03

I wish to draw a curved line until it makes a full rotation and joins to become a complete circle, just the circle outline, not filled. This has to be animated over a number

3条回答
  •  独厮守ぢ
    2021-01-01 01:33

    A very straight forward approach can be to subclass UIView and have that draw a variable length arc. You can then use a timer to periodically update the rotation angle

提交回复
热议问题