iPad Activity Indicator Issue
Hey there, I'm having problems implementing ActivityIndicator on iPad application, basically doesn't work with the example of KitchenSink, here's the code:
var actInd = Titanium.UI.createActivityIndicator({
bottom:25,
height:50,
width:10,
style:Titanium.UI.iPhone.ActivityIndicatorStyle.PLAIN
});
var Loading = Titanium.UI.createWindow({
backgroundImage: 'images/Default.png'
});
// Loading.open();
actInd.show();
I'm implementing for loading page from this post: http://tinyurl.com/38q33ho
Any idea?. Thanks in advanced.
1 Answer
-
Accepted Answer
You need to append spinner to the window
Loading.add(actInd)