Ipad Uiwebview使应用程序崩溃

Ipad Uiwebview使应用程序崩溃,ipad,uiwebview,crash,Ipad,Uiwebview,Crash,我在nib文件中有一个uiwebview。未连接到任何插座。在我的项目中,我自己从来没有对线程做过任何事情,在nib文件中还有2个UILabel。在nib中有uiwebview的情况下,当nib加载到屏幕上时,应用程序会崩溃。如果我删除了webview,那么2个uiwebview标签将按预期显示。这就是我得到的错误 Bool _WebTryThreadLock(bool), 0x9b39800: Tried to obtain the web lock from a thread other t

我在nib文件中有一个uiwebview。未连接到任何插座。在我的项目中,我自己从来没有对线程做过任何事情,在nib文件中还有2个UILabel。在nib中有uiwebview的情况下,当nib加载到屏幕上时,应用程序会崩溃。如果我删除了webview,那么2个uiwebview标签将按预期显示。这就是我得到的错误

Bool _WebTryThreadLock(bool), 0x9b39800: 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...

在删除[webView stopLoading]之前是否尝试调用它