以前在Xcode7之间项目没有问题,但是使用Xcode7后 突然不好使了,This application is modifying the autolayout engine from a background thread, which can lead to engi....
查了查资料 把需要更新UI的放在的主线程就好了。(通过打印
[NSThread currentThread],就可以知道当前不是在主线程;
)链接 http://stackoverflow.com/questions/31951704/this-application-is-modifying-the-autolayout-engine-from-a-background-thread-wh