.storyboard文件出错

2016-09-04  本文已影响0人  LeungKinKeung

错误提示:

Interface Builder was unable to determine the type of "iPhone.storyboard". This may be due to a miss

新建一个storyboard文件,右键->Open As -> Source Code打开


</br>
复制顶部的这部分代码


</br>
替换掉内容出错的storyboard文件的这部分语句,command + b编译,完成
<pre>
<code>
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
</code>
<code>
<document type="com.apple.InterfaceBuilder3.CocoaTouch.Storyboard.XIB" version="3.0" toolsVersion="6211" systemVersion="14A298i" targetRuntime="iOS.CocoaTouch" propertyAccessControl="none" useAutolayout="YES" useTraitCollections="YES">
</code>
<code><dependencies></code>
<code>
<plugIn identifier="com.apple.InterfaceBuilder.IBCocoaTouchPlugin" version="6204"/></code>
<code></dependencies></code>
</pre>

上一篇 下一篇

猜你喜欢

热点阅读