Shirley Gong
Published October 29, 2018
Updated September 07, 2023
2 min
Adding a Word, Excel, and PowerPoint Viewer to an iOS App
Shirley Gong

Related Products

Adding a seamless Word, Excel, and PowerPoint viewer to iOS apps is made simple with the Apryse PDF SDK. Office files are converted directly to PDF in the client, and then displayed with a PDF viewer. No server, Microsoft Office license, or other third party software needed.
Although this blog will explain how to add an Office viewer to iOS apps (Swift and Objective-C), this is also possible on all major platforms through a single unified API, including Android and Xamarin.
If you are interested in trying this out for yourself you can download our free trial.
Step 1 - Convert From Office to PDF
First we'll convert the .doc, .docx, .pptx or .xlsx file to PDF directly in the client:
Step 2 - Display the Documents
You can now display the converted file saved in outPath like this:
Here's what it looks like:

You can read more about displaying a PDF in our documentation.
Converting Other File Formats
Apryse’s iOS PDF library can also convert a variety of other file formats to PDF for viewing, such as images (.jpeg, .jpg, .gif, .png, .bmp etc.), markdown (.md) or comic book archive (.cbz). Here's how:
These converted files can now be viewed in the same way as the PDF.
Adding More Functionality
For a richer document experience, the Apryse SDK makes it easy to add more functionality to the viewer:
- Annotation creation and editing
- Form filling
- Text search
- Page manipulation
- Customizable UI controls
- Multi-tabbed PDF viewing
- Reflow
- Night and custom viewing modes
- And many more...
Conclusion
Adding an Office document viewer to your iOS app is simple with the Apryse SDK. To give it a try, download a free trial and check out our iOS Office viewer documentation.
For further guidance, please feel free to check out our comprehensive SDK Buying Guide, or get in touch. The developers who helped build our SDK from the ground up would be happy to walk you through your options..


