[AC-1329] iOS: error "Collection was mutated while being enumerated" on ListView itemclick
|Resolution||Needs more info|
DescriptionA very weird error appeared after I upgraded my app to Titanium 4.1 from 4.0. Itemclick event on some components of a ListView crashes my application, I've finally found the problem and a workround. The problem is difficult to reproduce and i cannot give you my controller/xml/tss because I have too many dependencies, but I reduced the code and I think that with the js and the error who changed the itemclick on ListView perhaps can understand what is the problem. If I set the value property of a textField on my listView passing the value as parameter to the factory application crashes at the popover.show (it always worked before 4.1). If I remove the the parameter in the factory and I set the value after it works.