配置iOS的Web应用程序

时间:2015-06-10 06:21:13

标签: web-applications metadata pinned-site

我在index.html

的head标签中有这样的东西
    <!-- Pinned Website for Windows 8 and Windows 8.1 -->
    <meta name="msapplication-square70x70logo" content="/img/tiny.png" />
    <meta name="msapplication-square150x150logo" content="/img/square.png"/>
    <meta name="msapplication-wide310x150logo" content="/img/wide.png"/>
    <meta name="msapplication-square310x310logo" content="/img/large.png"/>
    <!-- Pinned Website for iOS -->
    <meta name="apple-mobile-web-app-capable" content="yes">
    <meta name="apple-mobile-web-app-status-bar-style" content="black-translucent">
    <link rel="apple-touch-icon" sizes="72x72" href="/img/tiny.png">
    <link rel="apple-touch-icon" sizes="114x114" href="/img/tiny.png">
    <link rel="apple-touch-icon" sizes="57x57" href="/img/tiny.png">
    <!-- Pinned Website for Chrome on Android -->
    <meta name="mobile-web-app-capable" content="yes">
    <link rel="shortcut icon" sizes="196x196" href="/img/tiny.png">

对于Android,我们可以使用清单而Windows可以使用msapplication-config和xml文件来使index.html更整洁。我的问题是,iOS上有这样的东西。

0 个答案:

没有答案