icee
icee

Reputation: 39

Displaying PowerPoint Slides in Objective-C

I would like to ask if it is possible to display PowerPoint through either TableViewController or UIButton instead of using a UIWebView?

The PowerPoint Slides are being stored in a folder in Xcode.

Upvotes: 1

Views: 2104

Answers (2)

Hendrik
Hendrik

Reputation: 940

There are more ways of what you can do. You could of course use the

Quick Look Framework to display the ppt even without converting it to pdf. Also the UIWebView should be capable of presenting your ppt without the need to convert it.

The problem with these solutions is that you will lose all animations in your presentation. The only solution I know that wont destroy your animations is to either export your presentation directly as HMTL file or to use programs such as PPTToHTML5Converter to convert your ppt to an HTML5 file and show that in your UIWebView.

I hope I could help.

Upvotes: 0

pmdj
pmdj

Reputation: 23438

I don't know what you're envisaging with a UIButton, that makes very little sense to me, but you can of course put a UIWebView in a table cell. I assume that's not what you want?

You're probably best off pre-processing the PowerPoint files on a back-end server to convert them to PDFs. (or as part of your build process, if they're static) You have a lot more options for displaying those on iOS.

Upvotes: 1

Related Questions