I have used the CGPDFDocument
class to read .pdf
documents and retrieve the # of pages or pull back a page by number.
I am looking for a si
Loading a document using a UIWebView :
-(void)loadDocument:(NSString*)documentName inView:(UIWebView*)webView
{
NSString *path = [[NSBundle mainBundle] pathForResource:documentName ofType:nil];
NSURL *url = [NSURL fileURLWithPath:path];
NSURLRequest *request = [NSURLRequest requestWithURL:url];
[webView loadRequest:request];
}
// Calling -loadDocument:inView:
[self loadDocument:@"mydocument.rtfd.zip" inView:self.myWebview];
Taken from here. Besides, also check out this forum discussion.