How to encode UIBezierPath to SVG?
I have a simple view for finger painting / drawing. I store the drawings as UIBezierPath s in a NSMutableArray . Now I want to transfer the drawings to a web-service for presenting them in a browser. Therefore I need to encode my UIBezierPath s in a SVG-file - because this the format of the web-service. What I found right now is the SVGKit , which only DECODES SVG. Do anybody know sample code, snippets or a framework for encoding SVG? Thank you. bitmapdata.com I tested yet. but using following steps: Would not it be possible? 1.UIBezierPath to CGPathRef. UIBezierPath to CGPathRef 2.Using a