我正在用ObjectiveC(iOS)做一些事情,但陷入了崩溃,这种情况有时只会发生。这是我的代码(当txn完成时,它在一个block中被调用)。dispatch_async(dispatch_get_main_queue(),^{//arraywhichisusedtoshowtableviewrows//someOtherArrayisarraywhichhasdatafromresponseofatxnmyArray=[[NSMutableArrayalloc]initWithArray:someOtherArray];[selfcallSomeMethod];});callSo