app 没有crash, 但是不动了, 这是什么情况? 怎么调试?
1
vincentxue 2015-04-18 13:52:54 +08:00
八成是主线程阻塞了。
异步执行,或者直接上 Instruments 一目了然。 |
2
tsinghan OP @vincentxue 多谢,我试试Instruments 这个
|
3
wezzard 2015-04-18 15:04:53 +08:00
May be you were jumped to main thread from main thread.
Like doing: dispatch_async(dispatch_get_main_queue(), { () -> Void in // Blablablabla }) in main thread. |