I have several png files that look something like this:
Everything is transparent, but the black way. I am trying to create a UIBezierPath from the opaque part.
Edit: So I was thinking of creating a mask using png, then from the mask, go to UIBezierPath. Will this work?
Edit again: I found a solution, look at my answer.
source share