Updated to Swift 5. Found out the solution. Enjoy. After you create the CAShapeLayer of course : let animcolor = CABasicAnimation(keyPath: 'strokeColor') ...
確定! 回上一頁