{ "id": "103074", "key": "AC-2047", "fields": { "issuetype": { "id": "1", "description": "A problem which impairs or prevents the functions of the product.", "name": "Bug", "subtask": false }, "project": { "id": "12217", "key": "AC", "name": "Appcelerator - INBOX", "projectCategory": { "id": "10000", "description": "", "name": "Customer Service" } }, "resolution": { "id": "7", "description": "", "name": "Invalid" }, "resolutiondate": "2013-04-01T21:19:34.000+0000", "created": "2012-10-10T21:24:09.000+0000", "labels": [ "ios", "navbar", "title", "window" ], "versions": [], "issuelinks": [], "assignee": { "name": "dsefton", "key": "dsefton", "displayName": "Daniel Sefton", "active": true, "timeZone": "America/Los_Angeles" }, "updated": "2016-03-08T07:41:00.000+0000", "status": { "description": "The issue is considered finished, the resolution is correct. Issues which are closed can be reopened.", "name": "Closed", "id": "6", "statusCategory": { "id": 3, "key": "done", "colorName": "green", "name": "Done" } }, "components": [ { "id": "14551", "name": "Studio", "description": "Please enter tickets related to Titanium Studio here." }, { "id": "14548", "name": "Titanium SDK & CLI", "description": "Please enter tickets related to the MobileSDK here." } ], "description": "*Test case*\r\n{code}\r\nvar win1 = Titanium.UI.createWindow({\r\n\ttitle : 'Tab 1',\r\n\tnavBarHidden : false,\r\n\tbackgroundColor : '#fff'\r\n});\r\n\r\nvar label1 = Titanium.UI.createLabel({\r\n\tcolor : '#999',\r\n\ttext : 'I am Window 1',\r\n\tfont : {\r\n\t\tfontSize : 20,\r\n\t\tfontFamily : 'Helvetica Neue'\r\n\t},\r\n\ttextAlign : 'center',\r\n\twidth : 'auto'\r\n});\r\n\r\nwin1.add(label1);\r\nwin1.open();\r\n{code}", "attachment": [], "flagged": false, "summary": "Title and navBarHidden Properties are not working in case of single window iOS", "creator": { "name": "ashishnigam", "key": "ashishnigam", "displayName": "Ashish Nigam", "active": true, "timeZone": "Asia/Kolkata" }, "subtasks": [], "reporter": { "name": "ashishnigam", "key": "ashishnigam", "displayName": "Ashish Nigam", "active": true, "timeZone": "Asia/Kolkata" }, "environment": "iOS 5.1, MAC OSX 10.7.5, Titanium Mobile SDK 2.1.2.GA and 2.1.3.GA, Titanium Studio 2.1.2", "comment": { "comments": [ { "id": "222978", "author": { "name": "ashishnigam", "key": "ashishnigam", "displayName": "Ashish Nigam", "active": true, "timeZone": "Asia/Kolkata" }, "body": "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.", "updateAuthor": { "name": "ashishnigam", "key": "ashishnigam", "displayName": "Ashish Nigam", "active": true, "timeZone": "Asia/Kolkata" }, "created": "2012-10-10T21:26:30.000+0000", "updated": "2012-10-10T21:26:30.000+0000" }, { "id": "222979", "author": { "name": "ashishnigam", "key": "ashishnigam", "displayName": "Ashish Nigam", "active": true, "timeZone": "Asia/Kolkata" }, "body": "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..", "updateAuthor": { "name": "ashishnigam", "key": "ashishnigam", "displayName": "Ashish Nigam", "active": true, "timeZone": "Asia/Kolkata" }, "created": "2012-10-10T21:30:29.000+0000", "updated": "2012-10-10T21:30:29.000+0000" }, { "id": "245018", "author": { "name": "penrique", "key": "penrique", "displayName": "Pedro Enrique", "active": false, "timeZone": "America/Los_Angeles" }, "body": "A single window does not have a navigation bar. It needs to be part of a tab group, navigation group, or modal window", "updateAuthor": { "name": "penrique", "key": "penrique", "displayName": "Pedro Enrique", "active": false, "timeZone": "America/Los_Angeles" }, "created": "2013-04-01T21:19:34.000+0000", "updated": "2013-04-01T21:19:34.000+0000" } ], "maxResults": 3, "total": 3, "startAt": 0 } } }