One.
Load the background of the HTML tags, text can be displayed normally but the picture does not show. Find the problem for a long time did not find the place to write wrong, also asked others do not know, and then asked the Android to know, the background passed over the HTML tag, some are escaped. The mobile side does not recognize this side. Only cause the picture not to show. Replacing a string with NSString replaces the transfer of clothes. Just OK.
nsstring * htmlstring = [self. Htmlstring stringbyreplacingoccurrencesofstring:@ "\\\" " withstring:@" \ "" ];
Two.
Picture text Normal display later, the picture of the style and size of the display is not correct, asked the next know is the background is just body, need to splice their own head. Asked the company's H5.
NSString *header =@ ";
self. htmlstring = [nsstring stringwithformat:@ ", header,self. Model. Content];
PS: If you use other labels please see this article http://blog.csdn.net/huang100qi/article/details/42596799
iOS and HTML interaction issues