[英]Add apple-touch-icon to my application (from image file) not working
我正在使用SAP Hana Cloud試用版(SAP WEB IDE)。 我試圖將主屏幕功能添加到我的應用程序。 我的項目結構是:
http://scn.sap.com/servlet/JiveServlet/showImage/621327/structure.png
在index.html文件中,我添加了如下代碼:
<link rel="apple-touch-icon" sizes="57x57" href="images/apple-touch-icon-iphone.png"/>
然后部署我的應用程序,當我嘗試在iPhone 5s設備(iOS版本:8)上添加主屏幕時,未添加我的圖像。
有趣的是,當我使用互聯網上的圖像(鏈接到圖像)時,一切都很好-圖像已添加到主屏幕:
<link rel="apple-touch-icon" sizes="57x57" href="http://www.platinumpay.net/images/EP_employees.png">
您能幫忙嗎,可能是什么問題? 圖像路徑還是清晰的東西?
克里斯塔普斯(BR)
聲明:本站的技術帖子網頁,遵循CC BY-SA 4.0協議,如果您需要轉載,請注明本站網址或者原文地址。任何問題請咨詢:yoyou2525@163.com.