[AC-2720] iOS: Window from URL not loaded "before" it opens
GitHub Issue | n/a |
---|---|
Type | Bug |
Priority | n/a |
Status | Closed |
Resolution | Needs more info |
Resolution Date | 2013-04-03T22:58:01.000+0000 |
Affected Version/s | n/a |
Fix Version/s | n/a |
Components | Titanium SDK & CLI |
Labels | n/a |
Reporter | Martin Guillon |
Assignee | Mauro Parra-Miranda |
Created | 2013-01-18T00:29:41.000+0000 |
Updated | 2016-03-08T07:41:50.000+0000 |
Description
If you run Kitchen Sink on a device (iPhone 4 in my case, not SO fast) and navigate to Table Views, you will see that the table views open "after" the PushViewController animation.
I think this is due to the fact that the code is in a different context (loaded with URL).
If you look at the code, the KrollBridge evaluates the JS file for the window only in the UINavigationController delegate method "willShowViewController".
We should make so that the window is already loaded upon opening.
To do that we should make sure that the JS is evaluated sooner, somewhere in the "open" method.
Hi Martin, Can you provide a small reproducible test case that demonstrates this issue. Regards, Jamie
That s gonna be tough Jamie, It all depends on how fast the app is. Have you tried with KS on an iphone 4? It would be nice if you could try first, see if you "see" this behavior. If not i will try and make a test case (don't really have time right now). Thanks