Hello people,
Platform: iOS
I have in my app one tabbar:
var win1 = Titanium.UI.createWindow({ url:'home.js', titleid:'XY', barColor: '#0B72B5' }); var tab1 = Titanium.UI.createTab({ icon: 'YX', title:'XY', window:win1 });
var win2 = Titanium.UI.createWindow({ url:'inhalt.js', titleid:'XY', barColor: '#0B72B5' }); var tab2 = Titanium.UI.createTab({ icon: 'YX', title:'XY', window:win2 });
tabGroup.addTab(tab1); tabGroup.addTab(tab2); tabGroup.open();Is it possible when a tab is opened, a button on the side of the tabbar to create responsive and you can navigate by clicking the button in the tabs?
With best regards
1 Answer
Accepted Answer
yes, use this method to set the active tab
tabGroup.setActiveTab(tabIndex);
Your Answer
Think you can help? Login to answer this question!