i am adding UIWebview in tableview for showing text and link , but not able to scroll tableview, Any way to disable user interaction in webview only click event enable.
Webview have static content not load from web
NSString * htmlString = [NSString stringWithFormat:@"<html><head><script> document.ontouchmove = function(event) { if (document.body.scrollHeight == document.body.clientHeight) event.preventDefault(); } </script><style type='text/css'>* { margin:0; padding:0;} p { color:white; font-family:HelveticaNeue-CondensedBold; font-size:24px;} a { color:#63B604; text-decoration:underline; }</style></head><body><p>%@</p></body></html>", @"search in http://google.com"];
Thanks
[webview.scrollView setScrollEnabled:NO];
– TheTiger