UIWebView不滚动

时间:2013-05-09 19:39:19

标签: iphone ios

我正在创建一个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;
}

1 个答案:

答案 0 :(得分:0)

好的,我的问题是我不在父母UIView之外。我曾经发现这一点,我试图将UIView添加到{{1}}边缘,这就是我看到问题的方法。