Reading .ppt (MS PowerPoint) file in Cocoa Touch
Posted
by Biranchi
on Stack Overflow
See other posts from Stack Overflow
or by Biranchi
Published on 2009-12-09T03:57:43Z
Indexed on
2010/03/20
22:11 UTC
Read the original article
Hit count: 906
Hi All,
Any idea how to read a .ppt file in Cocoa Touch ?
I tried to load the contents of the file in UIWebView but it didn't work. Here is the code :
[aWebView loadData:[NSData dataWithContentsOfFile:filePath]
MIMEType:@"application/vnd.ms-powerpoint"
textEncodingName:@"utf-8"
baseURL:[NSURL fileURLWithPath:filePath]];
[powerWeb loadData:[NSData dataWithContentsOfFile:filePath]
MIMEType:@"application/vnd.ms-powerpoint"
textEncodingName:@"utf-8"
baseURL:[NSURL fileURLWithPath:filePath]];
All suggestions are highly appreciated.
Thanks
© Stack Overflow or respective owner