Tried to obtain the web lock from a thread other than the main thread or the web thread. Crashing now

前端 未结 6 1425
轮回少年
轮回少年 2020-12-10 01:03

bool _WebTryThreadLock(bool), 0x8053ce0: 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 UI

6条回答
  •  爱一瞬间的悲伤
    2020-12-10 01:41

    I had a similar issue and used

    performSelectorOnMainThread:withObject:waitUntilDone:
    

    to solve it. Hope that helps.

提交回复
热议问题