调试添加到iOS Safari主屏幕上的Web应用程序 [英] Debugging web apps added to home screen on iOS Safari

查看:159
本文介绍了调试添加到iOS Safari主屏幕上的Web应用程序的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在尝试调试添加到主屏幕的Web应用程序.我已在Safari上启用了Web检查器.如果我在iOS Safari浏览器中打开应用程序,则可以调试该应用程序,但是当我将该应用程序添加到主屏幕并尝试进行调试时,它显示无检查应用程序".任何帮助将不胜感激.

I'm trying to debug a web app that is added to home screen. I have enabled web inspector on safari. I am able to debug the app if I open in iOS safari but when I add the app to home screen and try to debug, it shows 'No Inspectable Applications'. Any help would be appreciated.

iOS版本:11.2

iOS version: 11.2

MacOS Safari版本:11.0.1

MacOS Safari version: 11.0.1

推荐答案

不确定是否相关,我遇到一个问题,即无法为iOS 11.2上的cordova Web应用打开检查器窗口

Not sure if it's related, I had an issue where I couldn't get the inspector window to open for a cordova web app on iOS 11.2

我发现我必须回到(ios)设置并打开和打开Safari Web Inspector,同时查看(osx safari)开发人员菜单以查看并检查它.

I found that I had to go back to (ios) settings and toggle Safari Web Inspector off and on while looking at the (osx safari) developer menu to see it and then inspect it.

这篇关于调试添加到iOS Safari主屏幕上的Web应用程序的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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