IPad网络应用程序-Can';不要让景观启动屏幕显示

IPad网络应用程序-Can';不要让景观启动屏幕显示,ipad,landscape,iphone-standalone-web-app,Ipad,Landscape,Iphone Standalone Web App,我正在尝试将网页转换为本机应用程序。我有图标要显示,肖像启动屏幕要显示,但风景启动屏幕不会。这是我的一些元标签- 图像为768x1004(纵向)和1024x748(纵向)。有人送行吗?我不确定这是否重要,但请将您的图像更新到.png,并将您的链接引用更新到 <!-- iPad Portrait 768x1004 --> <link rel="apple-touch-startup-image" media="(min-device-width: 768px) and (or

我正在尝试将网页转换为本机应用程序。我有图标要显示,肖像启动屏幕要显示,但风景启动屏幕不会。这是我的一些元标签-



图像为768x1004(纵向)和1024x748(纵向)。有人送行吗?

我不确定这是否重要,但请将您的图像更新到.png,并将您的链接引用更新到

<!-- iPad Portrait 768x1004 -->
<link rel="apple-touch-startup-image" media="(min-device-width: 768px) and (orientation: portrait)" href="spash-1004.png" />
<!-- iPad Landscape 1024x748 -->
<link rel="apple-touch-startup-image" media="(min-device-width: 768px) and (orientation: landscape)" href="spash-1024.png" />

定向媒体查询就可以做到这一点。只需将media=“(方向:景观)”添加到您的景观中即可