[英]Add apple-touch-icon to my application (from image file) not working
I am working with SAP Hana Cloud trial version (SAP WEB IDE). 我正在使用SAP Hana Cloud试用版(SAP WEB IDE)。 I tried to add Home Screen feature to my application.
我试图将主屏幕功能添加到我的应用程序。 My project structure is:
我的项目结构是:
http://scn.sap.com/servlet/JiveServlet/showImage/621327/structure.png http://scn.sap.com/servlet/JiveServlet/showImage/621327/structure.png
In index.html file I added line like this: 在index.html文件中,我添加了如下代码:
<link rel="apple-touch-icon" sizes="57x57" href="images/apple-touch-icon-iphone.png"/>
Then I deploy my application, and when I try to add Home Screen on my iPhone 5s device (iOS version: 8), my image is not added. 然后部署我的应用程序,当我尝试在iPhone 5s设备(iOS版本:8)上添加主屏幕时,未添加我的图像。
Interesting is that, when I use image from internet (link to the image), then all works great - image is added to home screen: 有趣的是,当我使用互联网上的图像(链接到图像)时,一切都很好-图像已添加到主屏幕:
<link rel="apple-touch-icon" sizes="57x57" href="http://www.platinumpay.net/images/EP_employees.png">
Can you please help, what could be wrong? 您能帮忙吗,可能是什么问题? Image path or something in deffinition?
图像路径还是清晰的东西?
BR, Kristaps 克里斯塔普斯(BR)
Maybe this could help you out? 也许这可以帮助您? http://chrislowthian.co.uk/web-development/add-favicon-apple-touch-icons-website/
http://chrislowthian.co.uk/web-development/add-favicon-apple-touch-icons-website/
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.