I am developing an iPhone application where I want to open a PowerPoint file in my application. Can anyone please help me out?
A:
To my knowledge, the iPhone only currently reads Word and Excel documents. I don't think PowerPoint is supported. I tried it, and it wouldn't open the PowerPoint file. For a Word file, the iPhone actually has an arrow that you can tap, opening the document in another window.
Treby
2009-11-11 01:51:00
iPhone opens PPT files just fine, both from email and from iDisk. I do not know of a way to access this functionality from within a custom app, though.
mikestew
2009-11-11 07:08:37
U can open the ppt file...
Pradeep Reddy Kypa
2010-04-20 11:49:47
+2
A:
Use -[UIWebView loadData:MIMEType:textEncodingName:baseURL:]
[webView loadData:[NSData dataWithContentsOfFile:filePath] MIMEType:@"application/vnd.ms-powerpoint" textEncodingName:@"UTF-8" baseURL:[NSURL URLWithString:filePath]]
rpetrich
2009-11-12 09:14:58