webV.backgroundColor = [UIColor redColor];
在webView的delegate回调方法-webViewDidFinishLoad:(UIWebView*)webView;中写上一下语句即可
//字体大小
[webView
stringByEvaluatingJavaScriptFromString:@"document.getElementsByTagName('body')[0].style.webkitTextSizeAdjust=
'330%'"];
//字体颜色
[webView
stringByEvaluatingJavaScriptFromString:@"document.getElementsByTagName('body')[0].style.webkitTextFillColor=
'gray'"];
//页面背景色
[webView stringByEvaluatingJavaScriptFromString:@"document.getElementsByTagName('body')[0].style.background='#2E2E2E'"];