我想知道我的WebView何时完成加载页面。我对此很新,我想知道你是否有任何建议。我需要在页面加载时创建一个“加载屏幕”。这是我的基本代码:UIWebView,确定页面是否已加载
- (void)viewDidLoad {
NSString *urlAddress = @"http://google.se";
//Create a URL object.
NSURL *url = [NSURL URLWithString:urlAddress];
//URL Requst Object
NSURLRequest *requestObj = [NSURLRequest requestWithURL:url];
//Load the request in the UIWebView.
[webView loadRequest:requestObj];
}
谢谢!
http://stackoverflow.com/questions/933414/deferring-viewwillappe的潜在副本AR-直到-webviewdidfinishload – zero0cool