There are many issues at the moment, but if it's about back button navigation and page flicker the fix is simple:(目前有很多问题,但是如果是关于后退按钮导航和页面闪烁的,那么修复很简单:)
$.mobile.hashListeningEnabled=false;
Place that in your device ready event.(将其放置在设备就绪事件中。)
Take into account though that this breaks the Android back button so you should actually only conditionally apply this when your app is also supposed to run on Android.(请注意,尽管这样做会打断Android后退按钮,所以实际上您应该仅在应用程序也应该在Android上运行时才有条件地应用此功能。) Something like:(就像是:)
if ( device.platform === "iOS" ) {
$.mobile.hashListeningEnabled=false;
}
与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…