[AC-2047] Title and navBarHidden Properties are not working in case of single window iOS
GitHub Issue | n/a |
---|---|
Type | Bug |
Priority | n/a |
Status | Closed |
Resolution | Invalid |
Resolution Date | 2013-04-01T21:19:34.000+0000 |
Affected Version/s | n/a |
Fix Version/s | n/a |
Components | Studio, Titanium SDK & CLI |
Labels | ios, navbar, title, window |
Reporter | Ashish Nigam |
Assignee | Daniel Sefton |
Created | 2012-10-10T21:24:09.000+0000 |
Updated | 2016-03-08T07:41:00.000+0000 |
Description
*Test case*
var win1 = Titanium.UI.createWindow({
title : 'Tab 1',
navBarHidden : false,
backgroundColor : '#fff'
});
var label1 = Titanium.UI.createLabel({
color : '#999',
text : 'I am Window 1',
font : {
fontSize : 20,
fontFamily : 'Helvetica Neue'
},
textAlign : 'center',
width : 'auto'
});
win1.add(label1);
win1.open();
I tried this sample code, but not getting window title and navBarHidden property is not working too, if i am using single window like this.
Same behavior(No title bar and navBAR) i get when i open a window from a click event of a view/button and not setting modal to true..
A single window does not have a navigation bar. It needs to be part of a tab group, navigation group, or modal window