[英]iOS Swift Time Based Line Draw
I want to draw almost like a racetrack shape as a black bar that draws itself over time.我想画一个几乎像赛道形状的黑色条,它会随着时间的推移而自行绘制。
I have not really worked with drawing stuff in iOS so I have no idea where to start.我还没有真正在 iOS 中绘制过东西,所以我不知道从哪里开始。 Any help would be appreciated.任何帮助,将不胜感激。
Core Concept : Draw a line in a racetrack shape over a time span.核心概念:在一段时间内以赛道形状绘制一条线。
http://oleb.net/blog/2010/12/animating-drawing-of-cgpath-with-cashapelayer/ http://oleb.net/blog/2010/12/animating-drawing-of-cgpath-with-cashapelayer/
Did provide the solution, thank you luk2302有没有提供解决方案,谢谢luk2302
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.