In swift I've successfully made an animated bezier path
which is contained inside a CAShapeLayer
. My only problem is implementing it onto other screen sizes. Does anybody know how I can scale the CAShapeLayer
with the path inside of it?
i.e. make it half the original size.
Use this function:
var shapelayer:CAShapeLayer
shapelayer.transform = CATransform3DMakeScale(, ,)
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With