To open anything (PDF, Pages, Word, Numbers, Excel, Images, etc.) that Mail.app or Safari can open, UIWebView is usually used.
UIWebView *webView = [[UIWebView alloc] initWithFrame:CGRectMake(0.0F, 0.0F, 320.0F, 480.0F)]; NSURL *pdfURL = [NSURL URLWithString:@"http://www.something.com/myFile.pdf"]; NSURLRequest *request = [NSURLRequest requestWithURL:pdfURL]; [webView loadRequest:request]; [self.view addSubview:webView]; [webView release];
Further information here: http://developer.apple.com/iphone/library/qa/qa2008/qa1630.html
iPhone 2.2.1 supports:
* Excel (.xls) * Keynote (.key.zip) * Numbers (.numbers.zip) * Pages (.pages.zip) * PDF (.pdf) * Powerpoint (.ppt) * Word (.doc)
iPhone 3.0 (the minimum version required to enter the App Store today?) adds support for:
* Rich Text Format (.rtf) * Rich Text Format Directory (.rtfd.zip) * Keynote '09 (.key) * Numbers '09 (.numbers) Pages '09 (.pages)
source share