我有一个正在使用Framework7的网络应用程序,从网上的各种教程中了解到一些信息,我唯一缺少的是启动屏幕和触摸图标,我为触摸图标添加了必要的代码,但是当我将Web应用程序添加到主屏幕时没有选择它们,如果我将相同的代码放在一个单独的文件中,它可以正常工作并显示图标吗?
任何帮助使这两种方法都能正常工作的人
<!— Touch Icons —>
<!— For non-Retina (@1× display) iPhone, iPod Touch, and Android 2.1+ devices: —>
<link rel="apple-touch-icon-precomposed" href="imgs/apple-touch-icon-precomposed.jpg"><!— 57×57px —>
<!— For the iPad mini and the first- and second-generation iPad (@1× display) on iOS ≤ 6: —>
<link rel="apple-touch-icon-precomposed" sizes="72x72" href="imgs/apple-touch-icon-72x72-precomposed.jpg">
<!— For the iPad mini and the first- and second-generation iPad (@1× display) on iOS ≥ 7: —>
<link rel="apple-touch-icon-precomposed" sizes="76x76" href="imgs/apple-touch-icon-76x76-precomposed.jpg">
<!— For iPhone with @2× display running iOS ≤ 6: —>
<link rel="apple-touch-icon-precomposed" sizes="114x114" href="imgs/apple-touch-icon-114x114-precomposed.jpg">
<!— For iPhone with @2× display running iOS ≥ 7: —>
<link rel="apple-touch-icon-precomposed" sizes="120x120" href="imgs/apple-touch-icon-120x120-precomposed.jpg">
<!— For iPad with @2× display running iOS ≤ 6: —>
<link rel="apple-touch-icon-precomposed" sizes="144x144" href="imgs/apple-touch-icon-144x144-precomposed.jpg">
<!— For iPad with @2× display running iOS ≥ 7: —>
<link rel="apple-touch-icon-precomposed" sizes="152x152" href="imgs/apple-touch-icon-152x152-precomposed.jpg">
<!— For iPhone 6 Plus with @3× display: —>
<link rel="apple-touch-icon-precomposed" sizes="180x180" href="imgs/apple-touch-icon-180x180-precomposed.jpg">
<!— For Chrome for Android: —>
<link rel="icon" sizes="192x192" href="imgs/touch-icon-192x192.jog">
<!— Touch Icons —>