block中刷新UI

block回调中刷新ui,日志提示:

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.

意思是:需要在主线程中去刷新UI

你可能感兴趣的:(block中刷新UI)