How to get the views added to the currentWindow using Titanium Mobile?

Posted by marcgg on Stack Overflow See other posts from Stack Overflow or by marcgg
Published on 2010-03-18T11:04:10Z Indexed on 2010/03/18 11:11 UTC
Read the original article Hit count: 403

Filed under:
|
|

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?

© Stack Overflow or respective owner

Related posts about titanium

Related posts about iphone