草庐IT

postContentUIWV

全部标签

iOS 增加 UIWebView 字体大小

我在StackOverflow上寻找解决方案,但没有找到。我的代码是:CGRectrect=_postContentView.bounds;_postContentUIWV=[[UIWebViewalloc]initWithFrame:rect];[_postContentUIWVloadHTMLString:selectedPostCD.contentbaseURL:nil];intfontSize=30;NSString*jsString=[[NSStringalloc]initWithFormat:@"document.getElementsByTagName('span')[0