识别方法不在主线程更新UI
尽情显现111 发布于2020-05 浏览:980 回复:0
0
收藏

调用方法:

UIViewController * vc = [AipGeneralVC ViewControllerWithHandler:^(UIImage *image) {}];

错误提示:

Main Thread Checker: UI API called on a background thread: -[UIApplication applicationState]

PID: 4451, TID: 1298827, Thread name: com.apple.CoreMotion.MotionThread, Queue name: com.apple.root.default-qos.overcommit, QoS: 0

收藏
点赞
0
个赞
TOP
切换版块