天天看點

tabelview重新整理不能及時問題

線程: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   
    避開了主線開辟了一個線程去讀取資料,拿到資料後直接去更新資料,而不是代碼回到主線程中去更新資料
           
tabelview重新整理不能及時問題

在處理資料的地方需要調用主線程

dispatch_async(dispatch_get_main_queue(), ^{

});

tabelview重新整理不能及時問題