반응형
object-C
-
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...IOS 2017. 2. 6. 18:53
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 performSelectorOnMainThread:@selector(CardUpdate) withObject:NULL waitUntilDone:YES]; -(void)CardUpdate{ if(cardnum ==@"" || cardexpmon ==@"" || cardexp..