This application is modifying the autolayout engine from a background thread after the engine was...

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
莫名其妙的闪退,是因为在刷新界面的时候,没有回归主线程。具体解决方案:
在闪退的地方。
dispatch_async(dispatch_get_main_queue(), ^{
之前的代码 。。。。
});

你可能感兴趣的:(This application is modifying the autolayout engine from a background thread after the engine was...)