简体   繁体   English

iPhone和Android Web浏览器的启动画面

[英]Splash Screen for iPhone and Android Web Browser

Want to display the splash page for iphone and android web browser. 想要显示iPhone和Android Web浏览器的启动页面。 I am new to this. 我是新来的。 Whats the best way to do this? 最好的方法是什么? is there any tutorial ? 有教程吗?

For iphone i want like a modal screen. 对于iPhone,我想要一个模态屏幕。

Thanks for all your help. 感谢你的帮助。

Best. 最好。

You have to set some meta information on your html like : 您必须在html上设置一些元信息,例如:

<meta name="apple-mobile-web-app-capable" content="yes">
<link rel="apple-touch-startup-image" href="/img/startup-landscape.png" sizes="1024x748" />
<link rel="apple-touch-startup-image" href="/img/startup-portrait.png" sizes="768x1004" />
<link rel="apple-touch-startup-image" href="/img/startup-portrait.png" />
<meta name="viewport" content="width=device-width; initial-scale=1.0; maximum-scale=1.0; minimum-scale=1.0; user-scalable=no; target-densityDpi=device-dpi" />
<meta name="HandheldFriendly" content="true" />
<meta name="format-detection" content="telephone=no" />
<link rel="apple-touch-icon-precomposed" href="/img/apple-touch-icon.png" />

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM