I've imported SVGKit lib into my project and I would like to load svg image that I have stored in NSString like that:
<svg xmlns="http://www.w3.org/2000/svg" ....
</svg>
When I try to load it via
SVGKImage* newImage = [SVGKImage imageWithContentsOfURL:svgUrl];
I get err because the url is nil, thats obvious because it isn't URL, but is there any method in library that I can use??
You need to create a NSURL object from the string representation of the URL, so:
Does that help?