版权声明:本文为博主原创文章,未经博主允许不得转载。 https://blog.csdn.net/qq_19678579/article/details/80417733
线程:This application is modifying the autolayout engin from a background thread
This application is modifying the autolayout engin from a background thread,which can lead to engine corruption and weird crashes,This will cause an exception in a future rellease
避开了主线开辟了一个线程去读取数据,拿到数据后直接去更新数据,而不是代码回到主线程中去更新数据
在处理数据的地方需要调用主线程
dispatch_async(dispatch_get_main_queue(), ^{
});