For the project, I need to display the contents of the RTF file on the iPad. After some searching, I found that you can load the RTF file into a UIWebView. However, when I do this, the contents of the file are displayed, but its missing table and image borders. Bold / Italic / Underline text works great.
The code I use to display the file:
NSURL *url = [[NSBundle mainBundle] URLForResource:@"A" withExtension:@".rtf"]; NSLog(@"URL: %@", url); NSURLRequest *req = [NSURLRequest requestWithURL:url]; [_webView loadRequest:req];
RTF file:
https://dl.dropbox.com/u/4966217/A.rtf
How to display images and table borders in my application?
source share