- html - 出于某种原因,IE8 对我的 Sass 文件中继承的 html5 CSS 不友好?
- JMeter 在响应断言中使用 span 标签的问题
- html - 在 :hover and :active? 上具有不同效果的 CSS 动画
- html - 相对于居中的 html 内容固定的 CSS 重复背景?
尝试构建一个我一直在开发的 iOS 应用程序。由于 Interface Builder Storyboard 错误,该应用程序无法在 Xcode 中构建。错误说明如下:第 1917 行:文档末尾的额外内容。因为我不太了解 XML,所以我不确定这意味着什么。我继续查看 1917 行,没有发现任何异常。我已经粘贴了下面的代码。
...
<fontDescription key="fontDescription" name="Avenir-Medium" family="Avenir" pointSize="17"/>
<color key="textColor" cocoaTouchSystemColor="darkTextColor"/>
<nil key="highlightedColor"/>
</label>
</subviews>
<color key="backgroundColor" white="0.66666666666666663" alpha="1" colorSpace="calibratedWhite"/>
<constraints>
<constraint firstAttribute="height" constant="807" id="IAL-D2-vfe"/>
<constraint firstAttribute="width" constant="320" id="cx9-gU-K2n"/>
</constraints>
</view>
</subviews>
<constraints>
<constraint firstAttribute="bottom" secondItem="cx5-hW-gTM" secondAttribute="bottom" id="OCs-ZO-mvB"/>
<constraint firstAttribute="trailing" secondItem="cx5-hW-gTM" secondAttribute="trailing" id="Ta0-VQ-uTp"/>
<constraint firstItem="cx5-hW-gTM" firstAttribute="leading" secondItem="dOU-bF-OGq" secondAttribute="leading" id="kT2-8I-HEq"/>
<constraint firstItem="cx5-hW-gTM" firstAttribute="top" secondItem="dOU-bF-OGq" secondAttribute="top" constant="2" id="qu9-4d-3NK"/>
</constraints>
</scrollView>
</subviews>
<color key="backgroundColor" white="1" alpha="1" colorSpace="calibratedWhite"/>
<constraints>
<constraint firstItem="dOU-bF-OGq" firstAttribute="top" secondItem="TBe-Zs-WOZ" secondAttribute="bottom" constant="11" id="JUw-yu-Qdo"/>
<constraint firstItem="2qZ-RL-eYQ" firstAttribute="top" secondItem="dOU-bF-OGq" secondAttribute="bottom" id="Tvb-Gd-Bhy"/>
<constraint firstAttribute="trailingMargin" secondItem="dOU-bF-OGq" secondAttribute="trailing" constant="-16" id="ZdR-Kp-fgz"/>
<constraint firstItem="dOU-bF-OGq" firstAttribute="leading" secondItem="8TP-eR-rCw" secondAttribute="leadingMargin" constant="-16" id="vf5-iR-dEo"/>
</constraints>
</view>
<simulatedScreenMetrics key="simulatedDestinationMetrics" type="retina4"/>
</viewController>
<placeholder placeholderIdentifier="IBFirstResponder" id="35W-fT-l2q" userLabel="First Responder" sceneMemberID="firstResponder"/>
</objects>
<point key="canvasLocation" x="-377" y="1720"/>
</scene>
</scenes>
<resources>
<image name="BalContent" width="22" height="22"/>
<image name="Balance" width="25" height="25"/>
<image name="Business" width="185" height="100"/>
<image name="Culture" width="185" height="100"/>
<image name="Design" width="185" height="100"/>
<image name="Discover" width="25" height="25"/>
<image name="Explore" width="375" height="100"/>
<image name="Feed" width="25" height="25"/>
<image name="Followers" width="22" height="22"/>
<image name="Food" width="185" height="100"/>
<image name="Health" width="185" height="100"/>
<image name="Link" width="50" height="50"/>
<image name="Logo" width="150" height="38"/>
<image name="News" width="187" height="100"/>
<image name="Notification" width="22" height="22"/>
<image name="Photo" width="50" height="50"/>
<image name="Popular" width="375" height="100"/>
<image name="Profile" width="25" height="25"/>
<image name="ProfileDefault" width="125" height="125"/>
<image name="Settings" width="22" height="22"/>
<image name="Splash-iphone6" width="375" height="667"/>
<image name="Sports" width="185" height="100"/>
<image name="Style" width="185" height="100"/>
<image name="Technology" width="187" height="100"/>
<image name="Travel" width="185" height="100"/>
<image name="Trending" width="375" height="100"/>
<image name="Video" width="50" height="50"/>
<image name="Write" width="50" height="50"/>
<image name="leonidas" width="116" height="92"/>
<image name="person-icon.png" width="375" height="667"/>
<image name="backarrow" width="22" height="22"/>
</resources>
<simulatedMetricsContainer key="defaultSimulatedMetrics">
<simulatedStatusBarMetrics key="statusBar"/>
<simulatedOrientationMetrics key="orientation"/>
<simulatedScreenMetrics key="destination" type="retina4"/>
</simulatedMetricsContainer>
<inferredMetricsTieBreakers>
<segue reference="AGt-rP-bot"/>
<segue reference="Ga5-Lv-IzP"/>
</inferredMetricsTieBreakers>
第 1917 行: <-- 此行出现在文档末尾但不会显示
最佳答案
我刚遇到同样的问题。我认为它发生了我拉动并进行了合并以解决冲突。当它说 Extra Content at end of Document </document>
我认为它在 xml 中找到额外的标签。所以我点击了版本编辑器并检查了更改的内容并找到了额外的标签。单击并放弃更改,一切顺利。
如果有人对此有详细了解,请随时编辑并向其添加更多详细信息。
关于ios - Interface Builder Storyboard错误 : Extra Content at end of Document </document>,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/29475948/
我正在尝试计算 iFrame 的高度,但不明白为什么 document.body.offsetHeight + document.body.bottomMargin 不等于 document.docu
我正在使用 Node/Mongoose/MongoDB 并尝试构建一个轮询应用程序。一个关键需求是跟踪单个用户对同一民意调查的响应如何随时间变化(他们一遍又一遍地进行同一民意调查)。 我有一个用户模型
首先,我不是普通的博主,我很困惑。如果我的问题不符合要求,请指导我。我会努力改进的。 我已提交 Microsoft Code Review 的 Microsoft CRM 插件。我是 JavaScri
谁能解释为什么使用类似的东西: gci -force "\\computername\c$\users\username\Documents" -recurse 或者 gci -force "\\co
It's difficult to tell what is being asked here. This question is ambiguous, vague, incomplete, over
这个问题已经有答案了: What is the (function() { } )() construct in JavaScript? (28 个回答) 已关闭 6 年前。 说实话,一开始我以为我可
document.getElementsByTagName("*") 适用于 IE/Firefox/Opera,但不适用于 Chrome 和 Safari。 document.all 适用于 IE/C
这个问题在这里已经有了答案: What is the difference between Document and document in JavaScript? (2 个答案) 关闭 8 年前。
我以某种方式发现将事件监听器添加到文档的行为有点奇怪。虽然向 HTMLElements 添加监听器工作正常,但向文档添加监听器不起作用。但奇怪的是,使用 jQuery 可以让它工作。 那么有人可以解释
谁能告诉我这两个 JavaScript 命令之间的区别? 这两个跨主要浏览器的兼容性是什么?我知道 documentElement 与大多数浏览器兼容。 谢谢 最佳答案 document.docume
什么时候应该使用 document.all 与 document.getElementById? 最佳答案 document.all 是 Microsoft 对 W3C 标准的专有扩展。 getEle
当升级到 react-native 0.61.2 时,这个问题出现了。我做到了从手机中删除了 apk 和自动链接使用 react-native link 然后 react-native run-and
当升级到 react-native 0.61.2 时,这个问题出现了。我做到了从手机中删除了 apk 和自动链接使用 react-native link 然后 react-native run-and
我将收到 tungstenite::Message ,它将包含来自客户端的bson文档。我可以将tungstenite::Message转换为Vec,但是如何在服务器端将其转换回 bson::docu
我这里有一个简单的疑问: 文档对象范围位于浏览器选项卡内:我的意思是如果我设置document.tab1 ='tab1' 在一个浏览器选项卡中 它在其他选项卡中不可用。 但是 document.coo
我经常使用并看到推荐的 dom 访问结构,例如这样动态地将内容添加到页面: loader = document.createElement('script'); loader.src = "myurl
我对 JQuery 还很陌生。我正在使用this JQuery 函数在元素上显示工具提示。 我根据我的需要(在这个社区的帮助下)以这种方式编辑了代码: $(document).ready(functi
我想知道哪个是运行js代码的正确方法,该代码根据窗口高度计算垂直菜单的高度并按时设置,不晚不早。 我正在使用 document.ready 但它并没有真正帮助我解决这个问题,它有时没有设置,我必须重新
我正在浏览一个 js 文件并发现这个声明var dataobj=document.all? document.all.id_name : document.getElementById("id_nam
想知道何时使用,这适用于什么浏览器? if (document.all&&document.getElementById) { // Some code block } 最佳答案 我认为没有任何重要的
我是一名优秀的程序员,十分优秀!