Reputation: 33060
I created a UITableViewCell
that contain UIWebView
so I can display some bold texts for autocomplete
I tested the code with
-(void) setHTMLContent:(NSString *)HTMLContent
{
[self.webView loadHTMLString:@"<p><strong>bold</strong><br/><br/> <b>bold</b> </p>" baseURL:nil];
}
The UIWebview
shows nothing.
Upvotes: 0
Views: 186
Reputation: 15217
I tried your example in my app, and it outputs twice "bold" as expected, although in color black. So if your background is also black, you won't see anything. Maybe you simply set a different color?
Upvotes: 1