A
A
Alexander_Sokolov2017-01-24 16:40:19
iOS
Alexander_Sokolov, 2017-01-24 16:40:19

How to view doc/pdf files in the application?

The server can have any doc, docx, pdf file. It must be opened upon request. The method below is quite working, but sometimes it refuses to show the file, I don’t know why. Who knows an alternative or why sometimes the method works through time?
window.open(' https://docs.google.com/viewer?url= ' + url + '&embedded=true', '_blank', 'location=no');

Answer the question

In order to leave comments, you need to log in

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question