在我的HTML5应用,我有以下元标记,让应用程式显示为全屏应用程序:HTML5全屏移动应用
<meta name="viewport" content="minimal-ui, width=device-width, initial-scale=1, maximum-scale=1, user-scalable=0" />
<meta name="apple-mobile-web-app-capable" content="yes" />
<meta names="apple-mobile-web-app-status-bar-style" content="black-translucent" />
<link href="~/images/icons/logo/touch-icon.png" rel="apple-touch-icon" />
<link href="~/images/icons/logo/touch-icon.png" rel="apple-touch-icon" sizes="76x76" />
<link href="~/images/icons/logo/touch-icon.png" rel="apple-touch-icon" sizes="120x120" />
<link href="~/images/icons/logo/touch-icon.png" rel="apple-touch-icon" sizes="152x152" />
<link href="~/images/icons/logo/touch-icon.png" rel="apple-touch-icon" sizes="180x180" />
<link href="~/images/icons/logo/touch-icon.png" rel="icon" sizes="192x192" />
<link href="~/images/icons/logo/touch-icon.png" rel="icon" sizes="128x128" />
但每当我点击应用的链接,它会返回浏览器,并返回浏览器栏。我如何防止这种情况?
测试在Safari中的iOS - 但标记与Android的完整解决方案
您正在测试哪个版本的iOS? iPad的?苹果手机。 iOS版本的行为不同。 –
它是一个原生的移动应用程序(网络视图)或网络应用程序? –