I\'m trying to display a .rft file which is download for my server.
I first used a UITextView, but I could see the text but there was a lot of encoding and strange c
If you have added the .rtf into the application then try this
NSString *filePath = [[NSBundle mainBundle] pathForAuxiliaryExecutable:@"<filename.extenssion>"];
NSURL *fileURL = [[NSURL alloc] initFileURLWithPath:filePath];
NSURLRequest *requestObj = [NSURLRequest requestWithURL:fileURL];
[webView loadRequest:requestObj];
Can you try this?
NSURL *url = <create NSURL object pointing to your file>;
NSURLRequest *req = [NSURLRequest requestWithURL:url];
[webView loadRequest:req];