2011-04-07 35 views

回答

8

您可以使用此加载网站:

[webView loadHTMLString:@"<strong>It Work's!</strong>" baseURL:[NSURL fileURLWithPath:[[NSBundle mainBundle] bundlePath]]]; 

[webView loadRequest:[NSURLRequest requestWithURL:[NSURL URLWithString:@"http://i.wrightscs.com"]]]; 

您也可以使用此加载HTML到一个UIWebView

相关问题