2012-10-10 150 views

回答

0

必须在笔尖添加webView的并连接webView的 * 委托 *方法 文件名WebViewController * *

- (void)viewDidLoad 

{ 

NSString *urlAddress = @”http://www.google.com”; 


NSURL *url = [NSURL URLWithString:urlAddress]; 


NSURLRequest *requestObj = [NSURLRequest requestWithURL:url]; 

//Load the request in the UIWebView. 
[webView loadRequest:requestObj]; 

} 

希望你有帮助。 ..

+0

谢谢你帮我解决问题 – zucknet