Reputation: 1658
I successfully create the UIBezierPath
now I want to drag that path in UIView on drag event(UIPanGestureRecognizer
) and get the current location's points contended by that path.
Is it possible that we can only drag UIBezierPath from one place to another? in UIView.
Upvotes: 1
Views: 1626
Reputation: 135540
If you allow me to toot my own horn, I blogged about this topic a while ago in a post titled CGPath Hit Testing. The demo app that I talk about in the article has the capability you are looking for.
Upvotes: 6