[TIMOB-2787] TabBar will not hide
| GitHub Issue | n/a |
|---|---|
| Type | Bug |
| Priority | Medium |
| Status | Closed |
| Resolution | Invalid |
| Resolution Date | 2012-07-20T15:50:56.000+0000 |
| Affected Version/s | n/a |
| Fix Version/s | n/a |
| Components | iOS |
| Labels | n/a |
| Reporter | Judy |
| Assignee | Neeraj Gupta |
| Created | 2011-04-15T03:29:36.000+0000 |
| Updated | 2017-03-09T23:02:16.000+0000 |
Description
The Tab Bar will not hide and visible does not work.
var tabGroup = Titanium.UI.createTabGroup();
var win1 = Titanium.UI.createWindow({
title:'Window 1',
backgroundColor:'#fff'
}); var tab1 = Titanium.UI.createTab({
title:'Tab 1',
window:win1,
visible: false
});
tabGroup.addTab(tab1);
tabGroup.open();
win1.hideTabBar();
hideTabBar must be called before open. This will work
var tabGroup = Titanium.UI.createTabGroup(); var win1 = Titanium.UI.createWindow({ title:'Window 1', backgroundColor:'#fff' }); var tab1 = Titanium.UI.createTab({ title:'Tab 1', window:win1, visible: false }); tabGroup.addTab(tab1); tabGroup.open(); win1.hideTabBar();Closing ticket as invalid.