美文网首页
.storyboard文件出错

.storyboard文件出错

作者: LeungKinKeung | 来源:发表于2016-09-04 17:41 被阅读0次

    错误提示:

    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>

    相关文章

      网友评论

          本文标题:.storyboard文件出错

          本文链接:https://www.haomeiwen.com/subject/pnilettx.html