cordova插件实现 [英] cordova plugins implementations

查看:90
本文介绍了cordova插件实现的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我有一个pdf,我正在使用inappbrowser插件向用户显示。但我有一些图像需要与PDF一起显示(图像不是PDF格式的一部分)。任何suggesstions?

i have a pdf that i am showing to the user using inappbrowser plugin . but i have some images that needs to be shown along with the pdf (images are not part of the pdf ). Any suggesstions?

推荐答案

PDF插件现在允许在同一页面上显示任何其他内容。



我最好的建议很简单:永远不要显示任何PDF。但是,如果您无法摆脱PDF,请提供它们,但绝不假设用户有任何软件处理PDF。这不是问题,因为如果某些浏览器无法显示PDF,则会提示用户将其另存为文件。如果您需要显示两个图像,请使用PDF链接显示它们以及该PDF的目的和内容的信息描述,以便用户可以决定如何处理它。



-SA
The PDF plug-ins does now allow showing anything else on the same page.

My best suggestion is simple: never show any PDF. But if you cannot get rid of PDFs, do provide them, but never assume that the user has any software processing PDF. It's not a problem, because if some browser cannot show a PDF, the user will be offered to save it as a file. If you need to show two images, show them with PDF link and informative description of the purpose and content of this PDF, so the user could decide what to do with it.

—SA


这篇关于cordova插件实现的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆