I need to show rich text that I pull from the server, so I use UIWebView. Now the problem is that I do not control the font that is used in UIWebView. How can I change the font to use the system font (which is consistent with the rest of the application)?
I am doing something like this at the moment:
myRichTextView = [[UIWebView alloc] initWithFrame:CGRectMake(x, y, width, height)]; myRichTextView.backgroundColor = [UIColor clearColor]; [myRichTextView setScalesPageToFit:NO]; [myRichTextView loadHTMLString:myString baseURL:[NSURL URLWithString:myBaseURL]];
Again, you need to control the display font. If I can't control the font, please let me know other alternatives to UIWebView.
thank
iphone uiwebview
Mustafa Jan 16 '09 at 7:42 2009-01-16 07:42
source share