Convert cgpath from superView to subVIew iOS swift
Problem:
I had a view with cgpath and i want to convert the to its subview with the same position.I had used the below code to achieve that
Solution:
CGAffineTransform translation = CGAffineTransformMakeTranslatiCGPathRef movedPath = CGPathCreateCopyByTransforming
View.Path = movedPath;
Comments
Post a Comment