Safari浏览器上的ios 9.1无法在Ipad上填充“添加到主屏幕"图标 [英] Add to Home Screen icon not populating on Ipad with ios 9.1 on safari browser

查看:124
本文介绍了Safari浏览器上的ios 9.1无法在Ipad上填充“添加到主屏幕"图标的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我已经使用下面的代码行来填充添加到主屏幕"图标,但是当单击添加到主屏幕"图标时,它仍然提供整个页面的图像.

I have used below lines of code to populate the Add to home screen icon but it still gives an image of the entire page while clicking on add to home screen icon.

    <link rel="apple-touch-icon-precomposed" href="/apple-touch-icon-precomposed.png"/>
    <link rel="apple-touch-icon" sizes="57x57" href="/apple-touch-icon-57x57.png"/>
    <link rel="apple-touch-icon" sizes="72x72" href="/apple-touch-icon-72x72.png"/>
    <link rel="apple-touch-icon" sizes="114x114" href="/apple-touch-icon-114x114.png"/>
    <link rel="apple-touch-icon" sizes="144x144" href="/apple-touch-icon-144x144.png"/>

我确定此图片的路径正确.

I am sure the path to this images are correct.

我已经尝试了互联网上几乎所有可用的解决方案,包括该网站,但似乎无法正常工作.如果需要提供其他信息,请告诉我.

I have tried almost every solution available on internet including this website but don't seem to get it working. Please let me know in case if any other information needs to be provided.

https://developer.apple.com/library/ios/documentation/AppleApplications/Reference/SafariWebContent/ConfiguringWebApplications/ConfiguringWebApplications.html#//apple_ref/doc/uid/TP40002051-CH3-SW4

任何帮助点都是巨大的帮助.

Any points of assistance would be of immense help.

推荐答案

由于 https证书问题,我无法在添加到主屏幕"选项中填充图像.尽管我可以使用图像的路径,但令人惊讶的是它没有填充ipad上的主屏幕图像.

I could not populate the image in Add to Home Screen option due to https certificate issue.Though i could browse the images using the path of the image but surprisingly it did not populate the home screen image on ipad.

想从iPad上获得有关如何在Safari浏览器中进行调试的答案.

Would like to get few answers on how to debug on safari browser from within the ipad.

我为设备添加了新证书,并且添加到主屏幕图标图像开始按预期显示.

I added a new certificate for the device and the add to home screen icon image started appearing as intended.

这篇关于Safari浏览器上的ios 9.1无法在Ipad上填充“添加到主屏幕"图标的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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