如何使用sencha在ipad中加载pdf文件?
如何使用sencha在ipad中加载pdf文件 我尝试过以下方法:如何使用sencha在ipad中加载pdf文件?,pdf,sencha-touch,sencha-touch-2,Pdf,Sencha Touch,Sencha Touch 2,如何使用sencha在ipad中加载pdf文件 我尝试过以下方法: html:'<div id="scroller" style="width:99%;overflow:scroll;">' + '<img style="width:100%;overflow:scroll;"' + 'src="resources/pdfFiles/help.pdf">' + '</img>
html:'<div id="scroller" style="width:99%;overflow:scroll;">' +
'<img style="width:100%;overflow:scroll;"' +
'src="resources/pdfFiles/help.pdf">' +
'</img></div>'
html:'+
'' +
''
及
html:'+
'' +
''
及
html:'+
''
及
html:'据我所知,Sencha Touch应用程序不能很好地与iframe
配合使用,尤其是当pdf嵌入其中时
您最好在浏览器中打开一个新链接,让浏览器完成其余任务
以下是关于官方论坛的讨论:
html:'<div id="scroller" style="width:99%;overflow:scroll;">' +
'<iframe style="width:100%;overflow:scroll;"' +
'src="resources/pdfFiles/help.pdf">' +
'</iframe></div>'
html:'<div style="height:99%;width:99%;overflow:scroll;">' +
'<embed type="application/pdf" width="100%" height="100%" src="resources/pdfFiles/help.pdf" /></div>'
html:'<object data="resources/pdfFiles/help.pdf" TYPE="application/x-pdf" width="100%" height="100%" </object>'