1

我正在开发一个jQuery的移动应用程序,我试图加载启动画面,并为我的生活不能解决为什么它不加载。iPhone启动画面不加载

这里是我的代码

 <meta name="viewport" content="width=device-width, target-densitydpi=160dpi, minimum-scale=1.0, maximum-scale=1.0, user-scalable=no"> 
      <link rel="apple-touch-icon" href="http://maps.mappingsa.com.au:81/DestinationRiverland/images/icon.png"> 
       <meta name="apple-mobile-web-app-capable" content="yes"> 
        <meta name="apple-mobile-web-app-status-bar-style" content="black"> 
         <link rel="apple-touch-startup-image" href="http://maps.mappingsa.com.au:81/DestinationRiverland/images/splash.png"> 

          <title>Dest River</title> 

我可以链接到的图像没有后顾之忧,触摸图标正常工作。

有什么建议吗?

回答

1

你只需要有根据你的iPhone或iPad的像素尺寸的png文件,并为该文件 的名称为Default.png它的工作原理

0

另一个比为Default.png另一种方式是通过简单的拖放并将PNG文件放到您的目标设置下的下列框中。请注意,必须是正确的尺寸,1024x768的横向和768x1024的纵向。

enter image description here

+0

这只是在Xcode项目,但OP是问一个JQM web应用程序... – Leon

+0

除非他使用PhoneGap的,但是这不是标签也不是他的问题提到 – Leon

+0

感谢我解决问题的答案问题是图像dpi是 – user952396