Search code examples
iosms-worddropboxibooks.doc

How does the iPhone/iPad versions of Dropbox display Microsoft Word documents?


Is Dropbox just making use of iOS libraries (iBooks code?) to read .doc/.docx files and view them?

Or did Dropbox actually have to code some kind of wrapper to get .doc/.docx files to display properly?

The web version of Dropbox just downloads the file so seems like whatever the viewer is it must be iOS-specific,

thanks, tim


Solution

  • Have a look at the QuickLookFramework:

    https://developer.apple.com/library/ios/#DOCUMENTATION/QuickLook/Reference/QuickLookFrameworkReference_iPhoneOS/_index.html#//apple_ref/doc/uid/TP40009672

    and the DocumentInteraction Topics:

    https://developer.apple.com/library/ios/#DOCUMENTATION/FileManagement/Conceptual/DocumentInteraction_TopicsForIOS/Articles/PreviewingandOpeningItems.html#//apple_ref/doc/uid/TP40010410-SW1