This application is modifying the autolayout engine from a background thread, which can lead to engine corruption and weird crashes

前端 未结 6 1742
醉话见心
醉话见心 2020-11-30 06:00

I get this log in the console when I am running my application in is simulator. Haven\'t seen this in iOS 8. I am not quite sure whats causing this. Has anyone else come acr

6条回答
  •  鱼传尺愫
    2020-11-30 06:14

    Same issue is happened in my case,i have to change the code in following way then it works fine. In ViewDidLoad,call this method by using main thread,

    [self performSelectorOnMainThread:@selector(setUpTableRows) withObject:nil waitUntilDone:YES];
    

提交回复
热议问题