美文网首页
This application is modifying th

This application is modifying th

作者: 有缘人2830 | 来源:发表于2018-10-12 16:37 被阅读11次

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 th

      本文链接:https://www.haomeiwen.com/subject/vtugaftx.html