How can i load svg string to UIWebview
===

How can i load a svg which is stored on a NSString to UIWebview? 

I'm using `[webview loadHTMLString:svgString baseURL:nil];`

Also i would like to convert it to an UIImage?

this is my code

UIWebView* view = [[UIWebView alloc]init];

[view loadHTMLString:svgString baseURL:nil];

UIGraphicsBeginImageContext(CGSizeMake(294,20));
[view.layer renderInContext:UIGraphicsGetCurrentContext()];

image = UIGraphicsGetImageFromCurrentImageContext();

UIGraphicsEndImageContext();

Yet image is no where to be found. any ideas?