warning:This application is modifying the autolayout engine from a background thread
2016-08-03 18:22
393 查看
警告提示:This application is modifying the autolayout engine from a background thread, which can lead to engine corruption and weird crashes. This will cause an exception in a future release.
错误原因:在回调函数中或者后台线程中更新了UI界面,而UI界面必须是在主界面中才能进行修改
解决办法:
错误原因:在回调函数中或者后台线程中更新了UI界面,而UI界面必须是在主界面中才能进行修改
解决办法:
dispatch_async(dispatch_get_main_queue(), ^{ <your code> });
相关文章推荐
- warning:This application is modifying the autolayout engine from a background thread
- LGPhotoBrowser 网络请求图片 报出This application is modifying the autolayout engine from a background thread
- This application is modifying the autolayout engine from a background thread
- This application is modifying the autolayout engine from a background thread, which can lead to engi
- "This application is modifying the autolayout engine from a background thread, which can lead to en
- This application is modifying the autolayout engine from a background thread, which can lead to engine corruption and weird crashes.
- This application is modifying the autolayout engine from a background thread, which can lead to engi
- This application is modifying the autolayout engine from a background thread after 。。。
- This application is modifying the autolayout engine from a background thread, which can lead t
- This application is modifying the autolayout engine from a background thread, which can lead to engine corruption and weird crashes. This will cause an exception in a future release.
- This application is modifying the autolayout engine from a background thread, which can lead to engine corruption and weird crashes
- This application is modifying the autolayout engine from a background thread, which can lead to engi
- This application is modifying the autolayout engine from a background thread, which can lead to engi
- 芒果iOS开发之This application is modifying the autolayout engine from a background thread崩溃
- 芒果iOS开发之This application is modifying the autolayout engine from a background thread崩溃
- This application is modifying the autolayout engine from a background thread...
- iOS9 This application is modifying the autolayout engine from a background thread, which
- This application is modifying the autolayout engine from a background thread, which can lead to engi
- This application is modifying the autolayout engine from a background thread, which can lead to engi
- 更换NSURLSession后 报错 This application is modifying the autolayout engine from a background thread, whi