试图用一个非常简单的 UIWebView iPhone 应用程序让我的脚湿透。我在 ViewController.m 中有以下代码:
UIWebView *webView = [[UIWebView alloc] initWithFrame:self.view.frame];
NSString *urlAddress = @"https://mysite.com/";
NSURL *url = [NSURL URLWithString:urlAddress];
NSURLRequest *request = [NSURLRequest requestWithURL:url];
[webView loadRequest:request];
[self.view addSubview:webView];
[super viewDidLoad];
我想将 setSuppressesIncrementalRendering 属性添加到此 UIWebView 但我是 Objective C 的新手。任何指针?