failed to render and update auto layout status for....

编程入门 行业动态 更新时间:2024-10-25 02:25:19

failed to render and <a href=https://www.elefans.com/category/jswz/34/1768979.html style=update auto layout status for...."/>

failed to render and update auto layout status for....

这个fail to update auto layout这个报错并没有影响运行,但是一直存在,偶尔消失

原因 搜下你代码里是不是有IBDesignable(你用了第三方的东西 里面用了IBDesignable)。xcode8这块有bug,所以一直有红叉 

解决方法:第一种:你可以找到那个第三方的删了ib 或者不用管。


第二种:用xib的时候, 把那个绑定class的字给删掉, 然后重启xcode就没事了,接着运行的时候再把绑定class的字给加回去....


我是找到了IB_DESIGNABLE,然后注释掉了这句。然后试着第二种方法,重启了下,真的没报错啦。所以决定写到博客,分享出来。

//IB_DESIGNABLE



更多推荐

failed to render and update auto layout status for....

本文发布于:2024-02-07 00:56:30,感谢您对本站的认可!
本文链接:https://www.elefans.com/category/jswz/34/1752056.html
版权声明:本站内容均来自互联网,仅供演示用,请勿用于商业和其他非法用途。如果侵犯了您的权益请与我们联系,我们将在24小时内删除。
本文标签:update   render   failed   status   layout

发布评论

评论列表 (有 0 条评论)
草根站长

>www.elefans.com

编程频道|电子爱好者 - 技术资讯及电子产品介绍!