0

Trying to get my feet wet with a very simple UIWebView iPhone app. I've got the following code in 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];

I want to add the setSuppressesIncrementalRendering property to this UIWebView but I'm new to Objective C. Any pointers?

4

1 に答える 1

0

単に

[webView setSuppressesIncrementalRendering:YES];
于 2013-02-06T18:22:59.670 に答える