Create a UIImage by rendering UIWebView on a background thread - iPhone
Does someone know of a way, or has a creative idea as to how to obtain an UIImage that is rendered from a UIWebView? The catch is, that is must be on a background thread. I'll elaborate: I'm trying to obtain the image from multiple UIWebViews every second+-, and display it on screen (iPhone's of course). Because rendering a layer to a CGContext is a CPU consuming job, I wouldn't like to use the main thread, so not to hang the UI. My attempts so far were: I tried to use renderInContext on the webView's layer to the UIGraphicalContext , but the _WebTryThreadLock error crashed the webviews. I