This application is modifying the autolayout engine from a background thread 原因

来源:互联网 发布:女生学java还是web前端 编辑:程序博客网 时间:2024/05/21 21:33

This application is modifying the autolayout engine from a background thread, which can lead to engine corruption and weird crashes.  This will cause an exception in a future release.

1.翻译下就是 应用程序的自动布局引擎正在被后台线程更改,这样可能导致引擎出现腐化和各种意外的冲突。这会导致在将来的释放出现意外。


2.这是在子线程中设置UI造成的,解决方法把子线程设置UI的部分放到主线程中。

0 0
原创粉丝点击