转
来源:互联网 发布:晨风机器人授权源码 编辑:程序博客网 时间:2024/05/07 11:46
[self setNeedDisplay:YES] just send a message to main thread to refresh the view then return, but the main thread is blocked, so it can't work.
[self displsyIfNeed] just force main thread to refresh the view and won't return till refreshed, so it will block your invoke thread if main thread is blocked.