线程问题:This application is modifying the autolayout engine from a background thread after the engine w

线程问题:This application is modifying the autolayout engine from a background thread after the engine was accessed from the main thread. This can lead to engine corruption and weird crashes.



线程问题:This application is modifying the autolayout engine from a background thread after the engine w


大致意思是我避开了主线开辟了一个线程去处理数据,拿到数据后我直接去更新数据,而不是代码回到主线程中去更新数据

解决:刷新UI必须回到主线程