{ "id": "103044", "key": "TIMOB-11876", "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": [ { "id": "15699", "description": "2013 Sprint 21", "name": "2013 Sprint 21", "archived": true, "released": true, "releaseDate": "2013-10-18" }, { "id": "15700", "description": "2013 Sprint 21 API", "name": "2013 Sprint 21 API", "archived": true, "released": true, "releaseDate": "2013-10-18" }, { "id": "14982", "description": "Release 3.2.0", "name": "Release 3.2.0", "archived": false, "released": true, "releaseDate": "2013-12-19" } ], "resolution": { "id": "1", "description": "A fix for this issue is checked into the tree and tested.", "name": "Fixed" }, "resolutiondate": "2013-10-07T20:35:17.000+0000", "created": "2012-10-10T09:09:43.000+0000", "priority": { "name": "High", "id": "2" }, "labels": [ "module_navbar", "qe-closed-3.2.0", "qe-testadded" ], "versions": [], "issuelinks": [ { "id": "32413", "type": { "id": "10003", "name": "Relates", "inward": "relates to", "outward": "relates to" }, "inwardIssue": { "id": "119975", "key": "TIMOB-15189", "fields": { "summary": "iOS7: Opening a Modal Window removes BarImage of the Parent-Window for a moment", "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" } }, "priority": { "name": "High", "id": "2" }, "issuetype": { "id": "1", "description": "A problem which impairs or prevents the functions of the product.", "name": "Bug", "subtask": false } } } }, { "id": "33124", "type": { "id": "10003", "name": "Relates", "inward": "relates to", "outward": "relates to" }, "inwardIssue": { "id": "122140", "key": "TIMOB-15757", "fields": { "summary": "iOS7: TitleImage renders with delayed position", "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" } }, "priority": { "name": "Medium", "id": "3" }, "issuetype": { "id": "1", "description": "A problem which impairs or prevents the functions of the product.", "name": "Bug", "subtask": false } } } } ], "assignee": { "name": "vduggal", "key": "vduggal", "displayName": "Vishal Duggal", "active": false, "timeZone": "America/Los_Angeles" }, "updated": "2013-11-07T19:14:57.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": "10206", "name": "iOS", "description": "iOS Platform" } ], "description": "*Feature description*\r\niOS 6 automatically adds drop shadow to the navigation bar that cannot be disabled through Titanium (2.1.3).\r\n\r\n*Proposed solution*\r\nSee the objective-c solution here: http://stackoverflow.com/questions/11084331/how-do-i-disable-the-navigation-bar-shadow-in-ios-6-for-navigation-bars-with-cus\r\n\r\ncontroller.navigationBar.shadowImage = [[[UIImage alloc] init] autorelease];\r\ncontroller is a UINavigationController.\r\n\r\nThis should driven by a Property that we can enable disable on Window(?) or on NavigationGroup. Whatever makes more sense. \r\n", "attachment": [], "flagged": false, "summary": "iOS 6: Drop shadow in navigation bar cannot be disabled through Titanium", "creator": { "name": "petervaradi", "key": "petervaradi", "displayName": "Peter Varadi", "active": true, "timeZone": "Europe/Berlin" }, "subtasks": [], "reporter": { "name": "petervaradi", "key": "petervaradi", "displayName": "Peter Varadi", "active": true, "timeZone": "Europe/Berlin" }, "environment": "SDK 2.1.3, iOS6", "comment": { "comments": [ { "id": "223959", "author": { "name": "mofle", "key": "mofle", "displayName": "Sindre Sorhus", "active": true, "timeZone": "Europe/Oslo" }, "body": "I could really use this. I'm doing a custom navbar with search and now it adds a shadow between them...", "updateAuthor": { "name": "mofle", "key": "mofle", "displayName": "Sindre Sorhus", "active": true, "timeZone": "Europe/Oslo" }, "created": "2012-10-17T12:55:08.000+0000", "updated": "2012-10-17T12:55:08.000+0000" }, { "id": "229318", "author": { "name": "iantearle", "key": "iantearle", "displayName": "Ian Tearle", "active": true, "timeZone": "Europe/London" }, "body": "Yep. I'd like the ability to remove this also. Wrecks my layout and design. \r\n\r\nAny possible quick fix?", "updateAuthor": { "name": "iantearle", "key": "iantearle", "displayName": "Ian Tearle", "active": true, "timeZone": "Europe/London" }, "created": "2012-11-30T16:51:58.000+0000", "updated": "2012-11-30T16:51:58.000+0000" }, { "id": "237205", "author": { "name": "wieger", "key": "wieger", "displayName": "Wieger Jelsma", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Did someone find a quick fix yet? That little drop shadow is annoying.", "updateAuthor": { "name": "wieger", "key": "wieger", "displayName": "Wieger Jelsma", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2013-02-05T09:26:19.000+0000", "updated": "2013-02-05T09:26:19.000+0000" }, { "id": "237453", "author": { "name": "mofle", "key": "mofle", "displayName": "Sindre Sorhus", "active": true, "timeZone": "Europe/Oslo" }, "body": "Is this seriously still not fixed...", "updateAuthor": { "name": "mofle", "key": "mofle", "displayName": "Sindre Sorhus", "active": true, "timeZone": "Europe/Oslo" }, "created": "2013-02-06T17:42:17.000+0000", "updated": "2013-02-06T17:42:17.000+0000" }, { "id": "238919", "author": { "name": "underlabs", "key": "underlabs", "displayName": "Joseph Sachs", "active": true, "timeZone": "America/Montreal" }, "body": "Interested in this feature as well. +1", "updateAuthor": { "name": "underlabs", "key": "underlabs", "displayName": "Joseph Sachs", "active": true, "timeZone": "America/Montreal" }, "created": "2013-02-19T19:28:01.000+0000", "updated": "2013-02-19T19:28:01.000+0000" }, { "id": "250536", "author": { "name": "mofle", "key": "mofle", "displayName": "Sindre Sorhus", "active": true, "timeZone": "Europe/Oslo" }, "body": "ping", "updateAuthor": { "name": "mofle", "key": "mofle", "displayName": "Sindre Sorhus", "active": true, "timeZone": "Europe/Oslo" }, "created": "2013-05-07T10:38:22.000+0000", "updated": "2013-05-07T10:38:22.000+0000" }, { "id": "261325", "author": { "name": "pierreuno", "key": "pierreuno", "displayName": "Pierre Hunault", "active": true, "timeZone": "America/Los_Angeles" }, "body": "I fixed this in an app I'm currently developing, here is the \"how to\":\r\nhttp://exygy.com/titanium-how-to-remove-navigation-bar-drop-shadow-in-ios-6/", "updateAuthor": { "name": "pierreuno", "key": "pierreuno", "displayName": "Pierre Hunault", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2013-07-10T20:56:03.000+0000", "updated": "2013-07-10T20:56:03.000+0000" }, { "id": "267226", "author": { "name": "mofle", "key": "mofle", "displayName": "Sindre Sorhus", "active": true, "timeZone": "Europe/Oslo" }, "body": "bump", "updateAuthor": { "name": "mofle", "key": "mofle", "displayName": "Sindre Sorhus", "active": true, "timeZone": "Europe/Oslo" }, "created": "2013-08-19T22:25:42.000+0000", "updated": "2013-08-19T22:25:42.000+0000" }, { "id": "273427", "author": { "name": "vduggal", "key": "vduggal", "displayName": "Vishal Duggal", "active": false, "timeZone": "America/Los_Angeles" }, "body": "Test Case\n{code}\n/*\nModes \n0 - No customization\n1 - Bar Image Only \n2 - Bar Image + Hide Shadow\n3 - Bar Image + Custom Shadow\n*/\n\n\nvar count = 0;\n\nfunction openListener(e) {\n count = count+1;\n}\n\nfunction closeListener(e) {\n count --;\n}\n\nfunction clickListener(e){\n nav.openWindow(genWin()); \n}\n\nfunction genWin()\n{\n var temp = count % 4;\n var win = Ti.UI.createWindow({\n backgroundColor:'white',\n title: 'MODE '+temp\n })\n\n var str = 'MODE = '+temp+'\\n';\n\n if (temp > 0) {\n win.barImage = 'images/slider_orangebar.png'\n str += 'barImage = images/slider_orangebar.png\\n';\n }\n\n if (temp == 3) {\n win.shadowImage = 'images/slider_orangebar.png'\n str += 'shadowImage = images/slider_orangebar.png\\n'\n }\n\n if (temp == 2) {\n win.hideShadow = true;\n str += 'hideShadow = true'\n }\n\n var label = Ti.UI.createLabel({\n text:str\n })\n\n win.add(label);\n\n win.addEventListener('click',clickListener);\n win.addEventListener('open',openListener);\n win.addEventListener('close',closeListener);\n\n return win;\n}\n\nvar nav = Ti.UI.iOS.createNavigationWindow({\n window:genWin(),\n orientationModes:[Ti.UI.PORTRAIT,Ti.UI.LANDSCAPE_LEFT,Ti.UI.LANDSCAPE_RIGHT]\n})\n\nnav.open();\n{code}", "updateAuthor": { "name": "vduggal", "key": "vduggal", "displayName": "Vishal Duggal", "active": false, "timeZone": "America/Los_Angeles" }, "created": "2013-09-30T19:09:57.000+0000", "updated": "2013-09-30T19:09:57.000+0000" }, { "id": "273428", "author": { "name": "vduggal", "key": "vduggal", "displayName": "Vishal Duggal", "active": false, "timeZone": "America/Los_Angeles" }, "body": "Pull pending against master\r\nhttps://github.com/appcelerator/titanium_mobile/pull/4750", "updateAuthor": { "name": "vduggal", "key": "vduggal", "displayName": "Vishal Duggal", "active": false, "timeZone": "America/Los_Angeles" }, "created": "2013-09-30T19:12:10.000+0000", "updated": "2013-09-30T19:12:10.000+0000" }, { "id": "277581", "author": { "name": "oromero", "key": "oromero", "displayName": "Olga Romero", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Tested and verified the fix with:\nTitanium Studio, build: 3.2.0.201310310121\nTitanium SDK, build: 3.2.0.v20131031141643\nXcode 5.0\nCLI 3.2.0\niOS 6 and 7 Simlator\nDevices:\niPhone5s iOS 7.0.2\niPad4 iOS 6.0.1\n\nNavbars are displayed according to set modes", "updateAuthor": { "name": "oromero", "key": "oromero", "displayName": "Olga Romero", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2013-10-31T22:42:08.000+0000", "updated": "2013-10-31T22:42:08.000+0000" } ], "maxResults": 12, "total": 12, "startAt": 0 } } }