2011-04-07 61 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

相關問題