- xcode打印Main Thread Checker: UI A
- Main Thread Checker: UI API call
- 使用MBProgressHUD 卡顿 报Main Thread
- Xcode Main Thread Checker
- iOS / AssertAutolayoutOnAllowedT
- Main Thread Checker: UI API call
- iOS 解决Main Thread Checker: UI AP
- Main Thread Checker: UI API call
- Main Thread Checker
- Xcode9:Main Thread Checker: UI A
Main Thread Checker: UI API called on a background thread: -[UIApplication statusBarOrientation]
这个问题出现,一般是因为需要在主线程执行的任务放在了子线程。
Main Thread Checker检测到的问题:
- 在子线程调用UI API。 例如,statusBarOrientation 导航栏状态被放在了子线程。
- 在子线程刷新UI。例如,获取网络数据之后未回到主线程刷新UI。
网友评论