美文网首页
YYLabel 报错问题

YYLabel 报错问题

作者: 不羁放纵dy | 来源:发表于2018-07-05 13:46 被阅读0次

笔者在XIB中引用YYLabel时出错,报错信息为:

Failed to update auto layout status: Failed to load designables from path (null)

解决方案为:
  • 第一步:找到YYLabel.h里面的 IB_DESIGNABLE,然后注释掉了这句.
  • 第二种:用xib的时候, 把那个绑定class的字给删掉, 然后重启xcode就没事了,接着运行的时候再把绑定class的字给加回去....

大家可以试试,有用的话点个赞

相关文章

网友评论

      本文标题:YYLabel 报错问题

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