Collection <__NSArrayM: 0x7fa1f2711910> was mutated while being enumerated

后端 未结 5 1299
轮回少年
轮回少年 2020-12-30 14:05

There are number of questions with similar title but none them of helped me.

but i can relate solution of this 'NSGenericException', reason: Collection <

5条回答
  •  心在旅途
    2020-12-30 14:13

    if your current array is A,you can copy another same array called B,then you can enumerate B and operate A,then it will not crash.

提交回复
热议问题