Warning: file_get_contents(/data/phpspider/zhask/data//catemap/8/linq/3.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
当设置多个页面时,iOS 7 iPad webapp图标会发生变化_Ipad_Web Applications_Ios7 - Fatal编程技术网

当设置多个页面时,iOS 7 iPad webapp图标会发生变化

当设置多个页面时,iOS 7 iPad webapp图标会发生变化,ipad,web-applications,ios7,Ipad,Web Applications,Ios7,我有4个支持webapp的web应用,每个应用在同一个域上都有不同的URL。当我在iOS 7 iPad上为所有4个设置主屏幕图标时,图标开始交换,并在设置时相互混淆。更清楚地说,这里是第1页的代码 <html> <head> <title>Test 1</title> <meta charset="UTF-8"> <link rel="apple-touch-icon" si

我有4个支持webapp的web应用,每个应用在同一个域上都有不同的URL。当我在iOS 7 iPad上为所有4个设置主屏幕图标时,图标开始交换,并在设置时相互混淆。更清楚地说,这里是第1页的代码

<html>
    <head>
        <title>Test 1</title>
        <meta charset="UTF-8">
        <link rel="apple-touch-icon" sizes="72x72" href="/images/iconPurple72.png" />
        <!-- iPad - landscape (748x1024) -->
        <link rel="apple-touch-startup-image" href="images/ipadLandscape7.png"  media="screen and (min-device-width: 481px) and (max-device-width: 1024px) and (orientation:landscape)" />
        <!-- iPad - portrait (768x1004) -->
        <link rel="apple-touch-startup-image" href="images/ipadPortrait7.png" media="screen and (min-device-width: 481px) and (max-device-width: 1024px) and (orientation:portrait)" />
        <!-- iPhone - (320x460) -->
        <link rel="apple-touch-startup-image" href="/images/startup7.png" media="screen and (min-device-width: 200px) and (max-device-width: 320px) and (orientation:portrait)" />
        <!-- enable full-screen mode  -->
        <meta name="apple-mobile-web-app-capable" content="yes" />
        <!-- controls the appearance of the status bar in full-screen mode  -->
        <meta name="apple-mobile-web-app-status-bar-style" content="black" />
        <meta name = "viewport" content = "width = device-width,initial-scale = 1.0, user-scalable = yes"/>
    </head>
    <body>
        <div><h1>this is test 1</h2></div>
    </body>
</html>

测试1
这是测试1
…第2、3和4页完全相同,除了这一行:

 <link rel="apple-touch-icon" sizes="72x72" href="/images/iconPurple72.png" />

…每个页面指向同一目录中的不同图像

行为不一致,但可以在设备和模拟器上看到。当ipad重新启动时,图标会正常显示,就像最初设置的那样。有时,在重新启动之前,点击另一个页面设置后更改的图标可能会导致iPad锁定


有什么想法吗?

您是否链接到每个应用程序中的其他应用程序?如果您加载的页面具有不同的
apple touch图标
,它将替换主屏幕上的web应用图标。(这就是像这样的web应用程序更新图标的方式。)

但听起来你正在经历的是iOS 7中的一个bug,当你有3、4个或更多的web应用时,它会导致奇怪的事情发生。图标可以交换,点击一个可以打开另一个,等等。重启你的iOS设备通常会解决这个问题,尽管这显然是一个bug


iOS 7在web应用程序方面似乎真的有问题。例如,正如您可能已经注意到的,浏览器对话框(如警报、确认、HTTP身份验证等)不起作用,外部链接也不起作用(无论是在Safari中打开的链接还是使用
tel
协议的电话号码)。发射图像最初是以一种非常急促的方式拉伸和缩放的。web应用程序的多任务预览显示一个空白的白色屏幕。奇怪的是,苹果会公开发布这款车。

我同意。。。ios 7漏洞。安装了更新7.0.3后,图标交换仍然存在,并且不限于一个域。