您的位置:首页 > 移动开发 > IOS开发

iOS----POST异步请求解析数据时bug解决办法

2016-05-14 20:41 120 查看
所遇bug警告:

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的代码加到上面的GCD代码中即可

该段代码的意思是将更新UI的代码加入到主线程.

内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签: