|
URLWithString "http://it.agoit.com/home.html"];
NSString *strHtml = [NSString stringWithContentsOfURL:url encoding:NSUTF8StringEncoding error:nil];
////显示到UIWebView
[self.m_web loadHTMLString:strHtml baseURL:nil];
/////显示到UITextView
[self.m_TextView setContentToHTMLString:strHtml];
本文摘自:http://www.th7.cn/Program/IOS/201305/134996.shtml
|
|