Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
正如您从这个问题的标题中可以理解的那样,我正在尝试实现 SVG 文件的 CALayer(CAShapeLayer) 的填充动画。
从我附加的图像中您可以看到动画应该有多复杂。
我决定从一个圆圈开始,并为其添加动画以填充下面的图层。一切都很好。
所以,我开始构建 UIBezierPath 或类似的东西,但看起来我走错了方向。
如果您能给我不同的想法来实现它,我将不胜感激。对于 SVG,我使用 SVGKit。也许通过使用这些类集,我可以做一些事情。
谢谢!