Drawing vectors with UIBezierPath I would like to export them as an SVG data file, but I think Apple's SDK only has a decoding option when dealing with SVGs, not encoding?
Any ideas?
Drawing vectors with UIBezierPath I would like to export them as an SVG data file, but I think Apple's SDK only has a decoding option when dealing with SVGs, not encoding?
Any ideas?
As far as I know (and I searched on the web, just before), no. You may need to find a third party library, or you might do it yourself.
UIBezierPath is a UIKit Class, which is quite high level, if I went down to CoreAnimation, or even CoreGraphics, I should be able to extract the data, but I'm not sure how to do that?
You can extract CGPath from UIBezierPath.