我创建使用离子演示应用程序与工作灯和它的工作对的Android但遇到错误IOS ,当我用手机浏览器模拟器和调试在IOS环境中,我得到了如下因素的错误消息:IBM工作灯V6.1.0.1:错误使用离子与框架时,工作灯和iOS环境中运行
Uncaught InvalidCharacterError: Failed to execute 'add' on 'DOMTokenList': The token provided ('platform-ios - iphone') contains HTML space characters, which are not valid in tokens.
我刚刚加入的index.html文件离子:
<!DOCTYPE HTML>
<html>
<head>
<meta charset="UTF-8">
<title>index</title>
<meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, minimum-scale=1.0, user-scalable=0">
<link rel="shortcut icon" href="images/favicon.png">
<link rel="apple-touch-icon" href="images/apple-touch-icon.png">
<link rel="stylesheet" href="css/main.css">
<link rel="stylesheet" href="ionic/css/ionic.css">
<script src="ionic/js/ionic.bundle.js"></script>
</head>
<body style="display: none;">
<!--application UI goes here-->
<div class="bar bar-header bar-positive">
<h1 class="title">bar-positive</h1>
</div>
<script src="js/initOptions.js"></script>
<script src="js/main.js"></script>
<script src="js/messages.js"></script>
</body>
</html>
我也在移动设备上测试了Android和IOS,并且只在IOS设备上出错。
我不知道如何解决这个问题。谁能帮忙?谢谢。
您至少需要提供显示这个问题的测试用例项目.. –
对不起,我编辑了我的问题... – NickNguyen