简体   繁体   English

Web应用程序无法在iPad上运行,但可以在桌面浏览器上运行

[英]Web app not working on IPad but works on desktop browser

I am creating a web application that runs on an ipad using JQuery, CSS and HTML, when i test my application on a web browser everything works perfectly, but when i access the web app through the ipads browser all the windows look the same but none of the functionality is there. 我正在创建一个使用JQuery,CSS和HTML在ipad上运行的Web应用程序,当我在Web浏览器上测试我的应用程序时,一切运行正常,但是当我通过ipads浏览器访问该Web应用程序时,所有窗口看起来都一样,但是没有功能在那里。 I have no idea why because i have all the .js files imported into the .html files and all the functionality works on the safari and fire on the desktop.... It is as if the web app on the ipad is ignoring all my .js files! 我不知道为什么,因为我已将所有.js文件导入到.html文件中,并且所有功能都可以在safari上运行并在桌面上启动。...好像ipad上的网络应用正在忽略我所有的内容.js文件!

here is a picture of my files and i can add code if anybody wants it 这是我的文件的图片,如果有人需要,我可以添加代码

在此处输入图片说明

Does anyone have any ideas why the functionality would not be working on the ipad? 有谁知道为什么该功能无法在ipad上使用?

You can try to launch the web application on a Webkit browser which is what is used in iPad and try to figure out what the issue is. 您可以尝试在iPad上使用的Webkit浏览器上启动Web应用程序,并尝试找出问题所在。 Webkit browsers include Safari and Google Chrome. Webkit浏览器包括Safari和Google Chrome。 Using these launch the Web Inspector and see if there are any errors loading javascript files by going to Network Tab. 使用这些启动Web Inspector,并转到“网络”选项卡,查看加载javascript文件是否有任何错误。

You can use the remote debuging feature with the ipad and safari. 您可以将远程调试功能与ipad和safari一起使用。 Warning this only works on IOS 6 http://moduscreate.com/enable-remote-web-inspector-in-ios-6/ 警告这仅适用于IOS 6 http://moduscreate.com/enable-remote-web-inspector-in-ios-6/

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

相关问题 Web应用程序无法在iPad上运行,但可以在桌面浏览器上运行 - Web app not working on IPad but works on desktop browser jQuery IF语句(仅适用于台式机上的Web浏览器)不是移动设备/ iPad - jQuery IF statement (Only if a web browser on a desktop) not a mobile device / iPad 我的Angular JS应用程序可在桌面浏览器中使用,但不能在移动浏览器中使用 - My Angular JS app works in desktop browser, but not in a mobile browser $(window).height()在iPad全屏Web应用中不起作用 - $(window).height() not working in iPad fullscreen web app Javascript自动播放在浏览器上有效,但在iPad上无效 - Javascript autoplay works on browser but not on iPad 从浏览器网页检测应用程序是否安装在桌面上 - Detect if app is installed on desktop from browser web page 开始使用音频 API 和 Web:代码在桌面浏览器中工作,但在移动浏览器中不工作 - Start working with audio API with Web : Code is working is desktop browser but not working in mobile browser JQM在桌面浏览器上工作而不是在移动设备上 - JQM works on desktop browser not mobile Javascript 适用于桌面,但不适用于移动浏览器 - Javascript works on desktop but not on mobile browser @media查询在桌面浏览器中起作用,而不在移动浏览器中起作用 - @media query works in desktop browser, not in mobile browser
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM