{ "id": "118711", "key": "TIMOB-14911", "fields": { "issuetype": { "id": "2", "description": "A new feature of the product, which has yet to be developed.", "name": "New Feature", "subtask": false }, "project": { "id": "10153", "key": "TIMOB", "name": "Titanium SDK/CLI", "projectCategory": { "id": "10100", "description": "Titanium and related SDKs used in application development", "name": "Client" } }, "fixVersions": [], "resolution": null, "resolutiondate": null, "created": "2013-08-17T14:00:01.000+0000", "priority": { "name": "Medium", "id": "3" }, "labels": [], "versions": [], "issuelinks": [], "assignee": null, "updated": "2018-02-28T20:03:59.000+0000", "status": { "description": "The issue is open and ready for the assignee to start work on it.", "name": "Open", "id": "1", "statusCategory": { "id": 2, "key": "new", "colorName": "blue-gray", "name": "To Do" } }, "components": [ { "id": "10206", "name": "iOS", "description": "iOS Platform" } ], "description": "Hi,\r\n\r\nI know this is not available for iOS6 and it is somehow possible to change at least the color of the window title by specifying a custom label as titleControl. However, it is kinda painful (especially handling this across different platforms) and does not really look 100% native.\r\n\r\nMy problem is that I have a red window barColor and it looks pretty fine on iOS6 with a white window title and red backButton. That is exactly how I want it because it is our corporate identity. On iOS7, it does not really look good as the window title is black and the backButton a light blue.\r\n\r\nQA Link: http://developer.appcelerator.com/question/156059/ios7-change-color-of-backbutton-and-window-title", "attachment": [ { "id": "41751", "filename": "ab46.png", "author": { "name": "dsefton", "key": "dsefton", "displayName": "Daniel Sefton", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2013-08-20T17:12:36.000+0000", "size": 18357, "mimeType": "image/png" } ], "flagged": false, "summary": "iOS7: Add possibility to change color of backButton and window title", "creator": { "name": "jicks83", "key": "jicks83", "displayName": "Jick Steen", "active": true, "timeZone": "Europe/Berlin" }, "subtasks": [], "reporter": { "name": "jicks83", "key": "jicks83", "displayName": "Jick Steen", "active": true, "timeZone": "Europe/Berlin" }, "environment": null, "comment": { "comments": [ { "id": "267163", "author": { "name": "dsefton", "key": "dsefton", "displayName": "Daniel Sefton", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Hi Jick,\n\nA screenshot would be useful so that we can clearly see your issue. (Edit -> Attachment)\n\nThanks!", "updateAuthor": { "name": "dsefton", "key": "dsefton", "displayName": "Daniel Sefton", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2013-08-19T18:27:43.000+0000", "updated": "2013-08-19T18:27:43.000+0000" }, { "id": "267209", "author": { "name": "jicks83", "key": "jicks83", "displayName": "Jick Steen", "active": true, "timeZone": "Europe/Berlin" }, "body": "Uploaded screenshot here: [http://img822.imageshack.us/img822/2585/ab46.png] because I do not have the permission to edit.\r\n\r\nExample Code:\r\n\r\nController:\r\n{code} \r\n$.index.open();\r\n\r\nsetTimeout(function () {\r\n\r\n var win = Ti.UI.createWindow({title: 'Red Navbar', barColor: \"#CD1628\"});\r\n $.nav.open(win);\r\n\r\n}, 2000);\r\n{code} \r\n\r\nView:\r\n{code} \r\n\r\n \r\n \r\n \r\n \r\n\r\n{code} ", "updateAuthor": { "name": "jicks83", "key": "jicks83", "displayName": "Jick Steen", "active": true, "timeZone": "Europe/Berlin" }, "created": "2013-08-19T21:27:25.000+0000", "updated": "2013-08-19T21:27:25.000+0000" }, { "id": "268036", "author": { "name": "jicks83", "key": "jicks83", "displayName": "Jick Steen", "active": true, "timeZone": "Europe/Berlin" }, "body": "FYI: I've just noticed it is now possible to change the color of the backButton using navTintColor, see https://github.com/appcelerator/titanium_mobile/commit/b2c30df0282490c4fd340433c473d41f30c746e0 . It remains the possibility to change the color of the window title.", "updateAuthor": { "name": "jicks83", "key": "jicks83", "displayName": "Jick Steen", "active": true, "timeZone": "Europe/Berlin" }, "created": "2013-08-25T08:43:13.000+0000", "updated": "2013-08-25T08:43:13.000+0000" }, { "id": "278428", "author": { "name": "hardbyte", "key": "hardbyte", "displayName": "Craig Jones", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Is it correct that we are still stuck in not being able to change the color of the text on a windows title bar?\r\n\r\nFor now, I've used a view/label on the titleControl property but as you mentioned, it's not ideal. I've then used tintColor and navTintColor to change the links on a navigation bar.\r\n\r\n", "updateAuthor": { "name": "hardbyte", "key": "hardbyte", "displayName": "Craig Jones", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2013-11-06T16:02:28.000+0000", "updated": "2013-11-06T16:02:28.000+0000" }, { "id": "319003", "author": { "name": "beaurepair", "key": "beaurepair", "displayName": "Beau Gibson", "active": true, "timeZone": "Australia/Sydney" }, "body": "You can change the color of the title by using titleAttributes : \r\nand navTintColor to change color of buttons (eg back)\r\n{code}\r\n\tvar window = Ti.UI.createWindow({\r\n\t\tbarColor : \"#000000\",\r\n\t\ttitle : \"This is a title\",\r\n\t\tnavTintColor : \"#FFFFFF\",\r\n\t\ttitleAttributes : {\r\n\t\t\tcolor : \"#FFFFFF\",\r\n\t\t},\r\n\t});\r\n{code}\r\n\r\nThis will give a black navBar with white text", "updateAuthor": { "name": "beaurepair", "key": "beaurepair", "displayName": "Beau Gibson", "active": true, "timeZone": "Australia/Sydney" }, "created": "2014-08-18T02:31:52.000+0000", "updated": "2014-08-18T02:31:52.000+0000" } ], "maxResults": 5, "total": 5, "startAt": 0 } } }