将Apple全屏元标记放置在Meteor应用程序中

Cap*_*ado 11 html5 mobile-safari ipad meteor

我试图使用Meteor.js给出一个原生iPad应用程序的错觉我不确定在哪里放置这些标签

    <meta name="apple-mobile-web-app-status-bar-style" content="black">
    <meta name="apple-mobile-web-app-capable" content="yes">
    <meta name="viewport" content="width=device-width; initial-scale=1.0; maximum-scale=1.0; user-scalable=0;" />
Run Code Online (Sandbox Code Playgroud)

到目前为止,我已经在几个不同的地方部署了它而没有成功.我是使用流星的新手,并会感谢任何帮助.

Aks*_*hat 11

您将这些标签放在ie index.html之间的文件中<head>

<head>
    <title>test app</title>
    <meta name="apple-mobile-web-app-status-bar-style" content="black">
    <meta name="apple-mobile-web-app-capable" content="yes">
    <meta name="viewport" content="width=device-width; initial-scale=1.0; maximum-scale=1.0; user-scalable=0;" />
</head>

<body>
    {{>greeting}}
</body>

<template name="greeting">
....
Run Code Online (Sandbox Code Playgroud)