appcelerator/titanium_mobile — pull request #6062 by cheekiatng (2014-09-12 07:41:56+00:00)
Title: [TIMOB-17670] DocumentViewer not displaying PDF files

When trying to change url in a document viewer instance, it sometimes doesn't load the respective document in url.
Reason is because we are using UIDocumentInteractionController, which according to Apple API documents, is supposed to be a preview controller, and recommended to initialize an instance for every different file previewed.
Bug solved by creating new instance every time url is changed for document view.