App crashes with reason: Collection <__NSArrayM: 0x7071700> was mutated while being enumerated

前端 未结 3 636
离开以前
离开以前 2021-01-24 13:04

Can you please help me to find reason why my app crashes after clicking on segmented control? Not allways, but usualy after some clicks.

Error message:

         


        
3条回答
  •  醉话见心
    2021-01-24 13:58

    Looks like the problem was with UIImagePickerController and only in simulator (more described in details here: http://blog.airsource.co.uk/index.php/2008/11/12/memory-usage-in-uiimagepickercontroller/ ). On real device everything works quite fine.

提交回复
热议问题