Titanium JIRA Archive
Appcelerator Community (AC)

[AC-2047] Title and navBarHidden Properties are not working in case of single window iOS

GitHub Issuen/a
TypeBug
Priorityn/a
StatusClosed
ResolutionInvalid
Resolution Date2013-04-01T21:19:34.000+0000
Affected Version/sn/a
Fix Version/sn/a
ComponentsStudio, Titanium SDK & CLI
Labelsios, navbar, title, window
ReporterAshish Nigam
AssigneeDaniel Sefton
Created2012-10-10T21:24:09.000+0000
Updated2016-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();

Comments

  1. Ashish Nigam 2012-10-10

    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.
  2. Ashish Nigam 2012-10-10

    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..
  3. Pedro Enrique 2013-04-01

    A single window does not have a navigation bar. It needs to be part of a tab group, navigation group, or modal window

JSON Source