我正在使用此代码在UIWebView
. 仅出现白屏
- (void)viewDidLoad {
[super viewDidLoad];
NSString *link = @"http://www.apple.com/";
NSURL *url = [[NSURL alloc] initWithString:link];
NSURLRequest *req = [[NSURLRequest alloc] initWithURL:url];
[webView loadRequest:req];
}