PractiseRunLoop icon indicating copy to clipboard operation
PractiseRunLoop copied to clipboard

help you underStand runloop

Results 1 PractiseRunLoop issues
Sort by recently updated
recently updated
newest added

主线程的 Runloop 不应该一直是 Run 的状态吗,为什么还可以在主线程调用 runModel(...) 方法?在官方文档上介绍,runMode(...) 是一个阻塞方法,它的阻塞就是进入 while 循环了吗?但是主线程不应该一直在 while 循环中吗?