我想为我的应用程序添加“后退按钮”面板,但仅适用于 iphone。我正在使用 vs2013 Multi Device Hybrid Apps 插件来开发移动应用程序。在经历了很多错误和问题之后,我设法开始了编码阶段,问题是 android 设备有面板可以“返回”或其他东西。但我也需要为 iphone 设置它。项目有“合并”文件夹,我相信那部分正在使用它。(我不想为整个项目添加那个额外的按钮,只有 iphone 对我来说就足够了,因为你知道 android 设备有面板可以“返回”或其他东西。)如果可能的话;我怎样才能做到这一点?这是我的页面示例之一;
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8" />
<title>Föy</title>
<link href="css/index.css" rel="stylesheet" />
<script src="scripts/jquery-1.8.3.min.js"></script>
<link href="css/bootstrap.min.css" rel="stylesheet" />
<link href="css/login.css" rel="stylesheet" />
<script>
$(document).ready(function () {
$("#btnLogin").click(function () {
window.location = "main.html";
})
});
</script>
</head>
<body>
<div class="container" id="login-block">
<div class="row">
<div class="col-sm-6 col-md-4 col-sm-offset-3 col-md-offset-4">
<h3 class="animated bounceInDown">FÖY Fatura Ödeme Sistemleri</h3>
<div class="login-box clearfix animated flipInY">
<div class="login-logo">
<a href="#"><img src="images/logo.png" alt="Company Logo" /></a>
</div>
<hr />
<div class="login-form">
<div class="alert alert-error hide">
<button type="button" class="close" data-dismiss="alert">×</button>
<h4>Hata!</h4>
İşlem Sırasında Hata Oluştu
</div>
<div>
<input type="text" class="form-control" id="txtUser" placeholder="Bayi Kodu" required />
<input type="password" class="form-control" id="txtPassword" placeholder="Şifre" required />
<button type="button" id="btnLogin" class="btn btn-red">GİRİŞ</button>
</div>
<div class="login-links">
<a href="forgot-password.html">
Şifremi Unuttum?
</a>
<br />
<a href="sign-up.html">
Bayi Değilim? <strong>Bayi Ol!</strong>
</a>
</div>
</div>
</div>
<div class="social-login row">
<div class="fb-login col-lg-6 col-md-12 animated flipInX">
<a href="#" class="btn btn-facebook btn-block"><strong>Facebook</strong> ile bağlan</a>
</div>
<div class="twit-login col-lg-6 col-md-12 animated flipInX">
<a href="#" class="btn btn-twitter btn-block"><strong>Twitter</strong> ile bağlan</a>
</div>
</div>
</div>
</div>
</div>
<script src="cordova.js"></script>
<script src="scripts/platformOverrides.js"></script>
<script src="scripts/index.js"></script>
</body>
</html>
谢谢您最好的问候