Hi, i'm using Titanium 2.1.0, Android 4.1, Windows 7, I created a window in the app.js and I created an other file where i get the current window var window = Ti.UI.currentWindow; when i tried to get the children with window.getChildren() it returned an empty array whereas i added some views and when i tried to use this var w =Ti.UI.getCurrentWindow() i got an error Object has no method getCurrentWindow
Thanks fou your attention.
1 Answer
Accepted Answer
Have you tried just using win.children??
Your Answer
Think you can help? Login to answer this question!