iPhone APP连接到没有浏览器栏的网站

时间:2022-09-27 03:01:51

I need to create an APP and all I know is web coding for mobile devices. Nor do I have a Apple Computer to write the code. What is the code to display a loading screen and then load in a mobile themed website without the url bar and the bookmark bar? Is there a tutorial on this?

我需要创建一个APP,我所知道的只是移动设备的网络编码。我也没有Apple计算机来编写代码。显示加载屏幕然后在没有网址栏和书签栏的移动主题网站中加载的代码是什么?有关于此的教程吗?

1 个解决方案

#1


1  

In the head of your HTML:

在HTML的头部:

<meta name="apple-mobile-web-app-capable" content="yes">

It will only affect users who add the page to their home screen, though.

但是,它只会影响将页面添加到主屏幕的用户。

For the splash screen:

对于启动画面:

Your startup image must be 320x460 pixels.

您的启动图像必须为320x460像素。

Further details at: http://developer.apple.com/library/safari/#documentation/appleapplications/reference/SafariHTMLRef/Articles/MetaTags.html

更多详情请访问:http://developer.apple.com/library/safari/#documentation/appleapplications/reference/SafariHTMLRef/Articles/MetaTags.html

#1


1  

In the head of your HTML:

在HTML的头部:

<meta name="apple-mobile-web-app-capable" content="yes">

It will only affect users who add the page to their home screen, though.

但是,它只会影响将页面添加到主屏幕的用户。

For the splash screen:

对于启动画面:

Your startup image must be 320x460 pixels.

您的启动图像必须为320x460像素。

Further details at: http://developer.apple.com/library/safari/#documentation/appleapplications/reference/SafariHTMLRef/Articles/MetaTags.html

更多详情请访问:http://developer.apple.com/library/safari/#documentation/appleapplications/reference/SafariHTMLRef/Articles/MetaTags.html