笔者在XIB中引用YYLabel时出错,报错信息为:
Failed to update auto layout status: Failed to load designables from path (null)
解决方案为:
- 第一步:找到
YYLabel.h
里面的IB_DESIGNABLE
,然后注释掉了这句. - 第二种:用xib的时候, 把那个绑定class的字给删掉, 然后重启xcode就没事了,接着运行的时候再把绑定class的字给加回去....
YYLabel.h
里面的 IB_DESIGNABLE
,然后注释掉了这句.本文标题:YYLabel 报错问题
本文链接:https://www.haomeiwen.com/subject/zeouuftx.html
网友评论