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

The fail to update auto layout error did not affect the operation, but it always exists and disappears occasionally

The reason is to search for whether there is IBDesignable in your code (you use IBDesignable in the third-party stuff). There is a bug in xcode8, so there is always a red cross 

Solution: The first one: You can find the third-party deleted ib or don't care.


The second type: when using xib, delete the word that binds the class, then restart xcode and it will be fine, and then add the word that binds the class back when it runs...


I found IB_DESIGNABLE, and then commented out this sentence. Then I tried the second method, restarted, and really no error was reported. So I decided to blog and share it.

//IB_DESIGNABLE


http://write.blog.csdn.net/postedit

Guess you like

Origin blog.csdn.net/ximiaoweilai/article/details/60771077