我想为我的应用程序添加“后退按钮”面板,但只用于iphones。我使用vs2013多设备混合应用程序插件来开发移动应用程序。在经历了很多错误和问题之后,我成功地开始了编码阶段,问题是android设备有面板来“返回”或其他东西。但我也需要为iphones设置它。项目有“合并”文件夹,我相信那部分是用来做的。(我不想为整个项目添加额外的按钮,只有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> 谢谢,致以最诚挚的问候
发布于 2014-10-14 17:52:44
将您的平台特定文件放在merges\ios\文件夹中,它将在构建过程中被拾取。更多的信息和指导可以找到这里
https://stackoverflow.com/questions/26366107
复制相似问题