Hi, How can I add multiple-buttons in my view through the controller?
For example I did:
for (var i=0; i < 4; i++){ var button[i] = Titanium.UI.createButton({ title: i, width:"100", height:"50" }); $.My_view.add(button[i]); }but it's not working with
var button[i]Need your help! Thanks!