由于一些自我诱导的问题,我可以崩溃我的iPhone应用程序,并收到以下错误:
Tried to obtain the web lock from a thread other than the mainthread or the web thread.我知道主线程是什么,也知道如何将上下文切换回主线程。但是,这个"web线程“是什么呢?我想我以前从来没有听说过这个术语。
我知道API是什么(来自本地概念,比如user32.dll的GetCursorPos() winApi )Ans:web是通过web公开的API。问: WebService是什么?我的怀疑:是用来通过web实现服务的WebApi吗?获得一个WebService?WebService和Web有什么不同?state transfer (REST) based