简体   繁体   English

jquery移动web应用程序启动问题

[英]jquery mobile web app startup problem

Is there a way to get a web app launched from a home screen icon on the iphone to return to the start div each time it is launched - my problem is that when I close the web app and then open it again using the home screen icon it returns to the last 'page' I had open while it loads - it then goes back to the first 'page' once loading is complete. 有没有办法从iPhone上的主屏幕图标启动一个Web应用程序,每次启动时返回到启动div - 我的问题是,当我关闭Web应用程序,然后使用主屏幕图标再次打开它它返回到我加载时打开的最后一个“页面” - 然后在加载完成后返回到第一个“页面”。 Thanks for any help 谢谢你的帮助

Problem solved. 问题解决了。 For reference: 以供参考:

<link rel="apple-touch-startup-image" href="startup-graphic.png" />

This head tag only seems to work if the png is sized 320x460 pixels. 如果png的大小为320x460像素,则此head标记似乎仅起作用。 This makes sense but was not immediately obvious to me. 这是有道理的,但对我来说并不是很明显。

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

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