[TIMOB-2488] Modal transition queuing, Wait for viewDidAppear/viewDidDisappear to know the current transition has completed
| GitHub Issue | n/a |
|---|---|
| Type | Bug |
| Priority | Medium |
| Status | Closed |
| Resolution | Needs more info |
| Resolution Date | 2012-07-26T11:57:03.000+0000 |
| Affected Version/s | n/a |
| Fix Version/s | n/a |
| Components | iOS |
| Labels | n/a |
| Reporter | Ygor Lemos |
| Assignee | Neeraj Gupta |
| Created | 2011-04-15T03:21:06.000+0000 |
| Updated | 2012-07-26T22:29:19.000+0000 |
Description
Hi guys,
sometimes, when I use some modals to appear/disappear for example on network disruption or for security alerts on my app, I get this:
2010-12-03 07:17:11.672 ezRec[89318:207] *** Terminating app due to uncaught exception 'NSInternalInconsistencyException', reason: 'Attempting to begin a modal transition from <UINavigationController: 0x69ee9f0> to <UINavigationController: 0xc018070> while a transition is already in progress. Wait for viewDidAppear/viewDidDisappear to know the current transition has completed'
Did you guys queue the modal transitions and expect them to terminate before calling the next requested one ? If not, there is a way for us to check viewDidAppear / viewDidDisappear from Cocoa mapped on JS so we can solve this kind of problems ?
Requires complete & valid test case
This ticket may be reopened when one is provided.