Compare btw two paths UIBezierPath Swift

I have drawn a circle using UIBezierPath and the user draw on the top of that circle. I need to get the points from the two paths to calculate the difference between the two paths? Plz let me know, I'm kind a new to swift

var shapeLayer = CAShapeLayer()
let bezierPath = UIBezierPath()
((circle drawn ))
hapeLayer.path = bezierPath.cgPath

Hi @Aya3477! Since this is a question about an Apple framework (UIKit) and not the Swift language itself, it would be more appropriate (and probably more helpful for you!) to ask over on the Apple Developer Forums.

Terms of Service

Privacy Policy

Cookie Policy