我正在创建一个UIWebView,它被作为子视图添加到UIView但是我无法让WebView滚动。任何建议都表示赞赏。
- (UIWebView *) mainText
{
UIWebView *view = [[UIWebView alloc] init];
view.layer.borderWidth = 1.0;
view.frame = CGRectMake(8, 130, 275, 185);
[view loadHTMLString:@"<font color=\"blue\">Hello Worldcut features is an option we skip the admin site entirely and just have josh do the AP then I cut out all the filters and I can cut out all the we don't need the social aspect on this quite yet l the filters and I can cut out all the we don't need the social aspect on this quite yetl the filters and I can cut out all the we don't need the social aspect on this quite yetl the filters and I can cut out all the we don't need the social aspect on this quite yetl the filters and I can cut out all the we don't need the social aspect on this quite yetl the filters and I can cut out all the we don't need the social aspect on this quite yetl the filters and I can cut out all the </font>" baseURL:nil];
return view;
}
答案 0 :(得分:0)
好的,我的问题是我不在父母UIView
之外。我曾经发现这一点,我试图将UIView
添加到{{1}}边缘,这就是我看到问题的方法。