0

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

1 回答 1

0

好的,我的问题是我不在父母身边UIViewUIView一旦我在我试图添加它的地方加上一个边框,我就发现了这一点,这就是我看到问题的方式。

于 2013-05-09T20:02:40.573 回答