[TIMOB-14072] iOS: Adding View after adding same view x2 causes NSRangeException
| GitHub Issue | n/a |
| Type | Bug |
| Priority | Low |
| Status | Open |
| Resolution | Unresolved |
| Affected Version/s | Release 3.1.0 |
| Fix Version/s | n/a |
| Components | iOS |
| Labels | View, crash, parity |
| Reporter | Carter Lathrop |
| Assignee | Unknown |
| Created | 2013-05-30T22:03:15.000+0000 |
| Updated | 2018-02-28T20:04:12.000+0000 |
Description
You have View1.
Then you add View2 to View1, twice.
Then you add View3 to View1 - crash!
See app.js
Would be nice if Ti could throw some sort of warning when double adding a view, like it does under other circumstances or if it was more forgiving and kept its index straight.
Dunno if this is solveable, but thought I would share it.
Attachments
| File | Date | Size |
| app.js | 2013-05-30T22:03:15.000+0000 | 595 |
This seems to work fine in Android (tested on Galaxy S3) but crashes in iOS for some reason. Possible parity behavior. Moving to Ti-Mobile. Thanks for bringing this to our attention, Carter