2012-10-10 73 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