开发者

Page can't render when running from Home Screen on iPad

开发者 https://www.devze.com 2023-04-07 01:02 出处:网络
I have a web app that runs on an iPad with no problem. However, in Safari, when I\'m on the page and choose \"Add to Home Screen\" then click the icon to open the page, I get the following error:

I have a web app that runs on an iPad with no problem. However, in Safari, when I'm on the page and choose "Add to Home Screen" then click the icon to open the page, I get the following error:

This page contains the following errors:

error on line 1 at column 2: StartTag: invalid element name

Below is a rendering of the page up to the first error.

It's blank after the error since it is occurring on line 1.

Why would it work when running it within the browser but not when running it from the home screen? I was under 开发者_如何学运维the assumption that it still used the Safari engine either way.


I think this might actually be a generic IIS / .NET error rather than a Safari rendering error. Maybe you can capture the User-agent string from fullscreen iPad Safari and see if it differs from regular Safari. From there you could spoof it into Firefox / Chrome and see what happens next.

0

精彩评论

暂无评论...
验证码 换一张
取 消

关注公众号