browser icon
You are using an insecure version of your web browser. Please update your browser!
Using an outdated browser makes your computer unsafe. For a safer, faster, more enjoyable user experience, please update your browser today or try a newer browser.

サブスレッドからメインスレッドのUIを更新するとエラー – iPhone開発メモ

Posted by on 2013年2月15日




bool _WebTryThreadLock(bool), 0x1d896b50: 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…






[self alert:conbinedMessage];

[self performSelectorOnMainThread:@selector(alert:) withObject:conbinedMessage waitUntilDone:TRUE];


Comments are closed.