While debugging a UIWebView iPhone app, I wanted to know what is in the html content.
This is how to get the html the uiwebview is showing:
@"document.body.innerHTML"];
Hope this helps you the next time you want to check the HTML inside a UIWebView