How to get the views added to the currentWindow using Titanium Mobile?
- by marcgg
I can get the currentWindow doing this:
var win = Titanium.UI.currentWindow;
I can add a view:
win.add(myView);
But how can I retrieve this view? I'm looking for something in the lines of:
win.currentView;
// or
win.views[0];
Is this possible?