Hi Guys,
I'm trying to use the UIWebview to preview an RTFD document but cant seem to get it working.
Basically, i create the rtfd document using TextEdit, then compress it to a zip file using the finder and add it to my project.
I use the loadRequest method for UIWebview to try and load up the document:
Code:
NSString *path = [[NSBundle mainBundle] pathForResource:@"RTFDDoc" ofType:@"rtfd"];
When i do this however, i just see a blank file. The app doesnt crash, which hints that maybe i'm doing a part of this correctly but maybe the rtfd or the zip compression isnt working correctly?
Please note that i use this method to load regular RTF and HTML files and i have no problems with these.
anyone have any ideas on whats going on?