Jas*_*orn 7 iphone multithreading objective-c
由于一些自我引发的问题,我能够崩溃我的iPhone应用程序并收到以下错误:
Tried to obtain the web lock from a thread other than the main thread or the web thread. This may be a result of calling to UIKit from a secondary thread. Crashing now...
解决这个问题不是问题,但错误信息让我思考......
我知道主线程是什么,我知道如何将上下文切换回它.但是,这个"网络线程"是什么?我以前从未听过这个术语.
Web线程是由所有人共享的单个UIWebViews线程,它在执行请求时临时阻止主线程上的执行.
| 归档时间: |
|
| 查看次数: |
4318 次 |
| 最近记录: |