2

I am developing an application where it will load Power point presentation file in UIWebView and capture the screen of the UIWebView for each page. And I am able to display as images one by one like a presentation.

Targetted platforms are: iOS6, iOS7

(1) Now when I want to display a Power Point document that has slides with multiple layered images/ elements or slides with animation (2) Ppt files with custom size of slides

are not properly rendered by UIWebView. And hence I am seeing those slides in a different alignment and orientation. Basically not able to display as original images.

I searched in Google, Stack Overflow and even Apple documentation. Nowhere documented that this is not possible. Is there any other approach for loading ppt files where I will not lose any content or alignment?

SlideShark or Key Note are the apps which will display ppts as if original ppt slides.

halfer
  • 19,824
  • 17
  • 99
  • 186
Srivathsa
  • 606
  • 10
  • 34
  • 1
    You will need to parse the `PPT` file your self and display it you self. Which is not an easy task. There might be third party libraries, but request for these are off topic for stackoverflow. – rckoenes Dec 03 '13 at 09:37

2 Answers2

1

Follow App Guidelines for UIDocumentInteractionController

Documentation

Sample Code

Vikas Pandey
  • 550
  • 4
  • 13
0

I think this will help you.
You can check file support using QLPreviewController here.

Community
  • 1
  • 1
Mobile App Dev
  • 1,824
  • 3
  • 20
  • 45
  • Hi iOS Dev, thanks for your answer. Its very late to respond but.. Tried to use Quicklook framework but not helped. Still having same issue that not able to display ppt images, different page size ppts, slides with animations etc. – Srivathsa Jan 22 '14 at 08:28
  • Were you ever able to display Powerpoint (ppt) files using existing Apple APIs? – Steve Sheets Jul 07 '15 at 18:27
  • @SteveSheets, Please check link I have provided in for QLPreviewController, it is from apple doc. it is written that you can display file iWork documents, Microsoft Office documents (Office ‘97 and newer), Rich Text Format (RTF) documents, PDF files, Images, Text files whose uniform type identifier (UTI) conforms to the public.text type (see Uniform Type Identifiers Reference), Comma-separated value (csv) files. – Mobile App Dev Jul 07 '15 at 18:38
  • IOS Dev, that is not what I asked. I asked if he was able to display Powerpoint files using an Apple API, not just QLPreviewController. Since my posting, I discovered that people are displaying PowerPoint (.ppt) files using the UIWebView. That is an alternative solution from Apple. – Steve Sheets Jul 08 '15 at 03:59