崩潰日志:*** Terminating appdue to uncaught exception 'NSGenericException', reason: '*** Collection<__NSArrayM: 0x61800024f7b0> was mutated while being enumerated.'
解決:(例如下)
NSMutableArray * tempArr = xxx;
??? NSArray * array = [NSArray arrayWithArray: tempArr];?
??? for (NSDictionary * dic in array) { ? ? ? ?
??????? if (OK){ ? ? ? ? ??
??????????? [tempArr removeObject:dic];
??????? } ? ? ?
??? }