{ "id": "162104", "key": "TIMOB-23684", "fields": { "issuetype": { "id": "4", "description": "An improvement or enhancement to an existing feature or task.", "name": "Improvement", "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": "16980", "description": "New V8", "name": "Release 6.0.0", "archived": false, "released": true, "releaseDate": "2016-11-15" } ], "resolution": { "id": "1", "description": "A fix for this issue is checked into the tree and tested.", "name": "Fixed" }, "resolutiondate": "2016-10-27T02:57:16.000+0000", "created": "2016-07-26T16:27:28.000+0000", "priority": { "name": "Medium", "id": "3" }, "labels": [ "ios", "navbar" ], "versions": [], "issuelinks": [ { "id": "53365", "type": { "id": "10122", "name": "Gantt: start-finish", "inward": "is triggered by", "outward": "is triggering" }, "outwardIssue": { "id": "164341", "key": "TIMOB-24107", "fields": { "summary": "iOS: Setting \"navBarHidden\" before opening Ti.UI.iOS.NavigationWindow has no effect (regression)", "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": "Critical", "id": "1" }, "issuetype": { "id": "1", "description": "A problem which impairs or prevents the functions of the product.", "name": "Bug", "subtask": false } } } } ], "assignee": { "name": "hknoechel", "key": "hansknoechel", "displayName": "Hans Knöchel", "active": true, "timeZone": "Europe/Berlin" }, "updated": "2018-05-01T20:20:17.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": "Expose the methods described above: \r\n\r\nhttps://developer.apple.com/library/ios/documentation/UIKit/Reference/UINavigationController_Class/#//apple_ref/doc/uid/TP40006934-CH3-SW36", "attachment": [], "flagged": false, "summary": "iOS: Expose missing iOS8 properties to hide NavigationBar", "creator": { "name": "kopiro", "key": "kopiro", "displayName": "Flavio De Stefano", "active": true, "timeZone": "Europe/Rome" }, "subtasks": [], "reporter": { "name": "kopiro", "key": "kopiro", "displayName": "Flavio De Stefano", "active": true, "timeZone": "Europe/Rome" }, "environment": null, "closedSprints": [ { "id": 682, "state": "closed", "name": "2016 Sprint 15 SDK", "startDate": "2016-07-16T00:19:20.819Z", "endDate": "2016-07-30T00:19:00.000Z", "completeDate": "2016-08-01T04:40:11.421Z", "originBoardId": 114 } ], "comment": { "comments": [ { "id": "391651", "author": { "name": "hknoechel", "key": "hansknoechel", "displayName": "Hans Knöchel", "active": true, "timeZone": "Europe/Berlin" }, "body": "PR (community): https://github.com/appcelerator/titanium_mobile/pull/8160\r\n\r\nDemo:\r\n{code:javascript}\r\nvar win = Ti.UI.createWindow({\r\n\tbackgroundColor:\"#fff\",\r\n\ttitle: \"TIMOB-23684\",\r\n\tlayout: \"vertical\"\r\n});\r\n\r\nwin.add(createButtonWithAction(\"hidesBarsOnSwipe\"));\r\nwin.add(createButtonWithAction(\"hidesBarsOnTap\"));\r\nwin.add(createButtonWithAction(\"hidesBarsWhenVerticallyCompact\"));\r\nwin.add(createButtonWithAction(\"hidesBarsWhenKeyboardAppears\"));\r\n\r\nwin.add(Ti.UI.createTextField({width: 200,height:50,backgroundColor: \"#ccc\", top: 20}))\r\n\r\nvar nav = Ti.UI.iOS.createNavigationWindow({\r\n\twindow: win\r\n});\r\n\r\nnav.open();\r\n\r\nfunction createButtonWithAction(action) {\r\n\tvar btn = Ti.UI.createButton({\r\n\t\ttitle: action,\r\n\t\ttop: 60\r\n\t});\r\n\t\r\n\tbtn.addEventListener(\"click\", function() {\r\n\t\twin[action] = true;\r\n\t});\r\n\r\n\treturn btn;\r\n}\r\n{code}", "updateAuthor": { "name": "hknoechel", "key": "hansknoechel", "displayName": "Hans Knöchel", "active": true, "timeZone": "Europe/Berlin" }, "created": "2016-07-27T11:17:58.000+0000", "updated": "2016-07-27T15:47:30.000+0000" }, { "id": "392294", "author": { "name": "hknoechel", "key": "hansknoechel", "displayName": "Hans Knöchel", "active": true, "timeZone": "Europe/Berlin" }, "body": "Reopening, since it throws an error warning (with throwing an error dialog) when using multiple windows. Fix coming.", "updateAuthor": { "name": "hknoechel", "key": "hansknoechel", "displayName": "Hans Knöchel", "active": true, "timeZone": "Europe/Berlin" }, "created": "2016-08-03T14:25:54.000+0000", "updated": "2016-08-03T14:25:54.000+0000" }, { "id": "392295", "author": { "name": "hknoechel", "key": "hansknoechel", "displayName": "Hans Knöchel", "active": true, "timeZone": "Europe/Berlin" }, "body": "PR: https://github.com/appcelerator/titanium_mobile/pull/8189", "updateAuthor": { "name": "hknoechel", "key": "hansknoechel", "displayName": "Hans Knöchel", "active": true, "timeZone": "Europe/Berlin" }, "created": "2016-08-03T14:27:42.000+0000", "updated": "2016-08-03T14:27:42.000+0000" }, { "id": "396997", "author": { "name": "ewieber", "key": "ewieber", "displayName": "Eric Wieber", "active": false, "timeZone": "America/Los_Angeles" }, "body": "While testing this, I noticed two things:\r\n1. {{hidesBarsWhenKeyboardAppears}} can be set to true, but trying to set it back to false does not change how it functions. The bar still hides when the keyboard appears.\r\n2. {{hidesBarsWhenVerticallyCompact}} should hide the bar when an iPhone 5 is in Landscape mode (transitions to a vertically compact environment). It does not do this, for me.\r\n[~hansknoechel], if I am misinterpreting the use/function of either of these properties, please let me know.", "updateAuthor": { "name": "ewieber", "key": "ewieber", "displayName": "Eric Wieber", "active": false, "timeZone": "America/Los_Angeles" }, "created": "2016-09-22T23:12:23.000+0000", "updated": "2016-09-22T23:12:23.000+0000" }, { "id": "398787", "author": { "name": "bimmel-defective", "key": "bimmel", "displayName": "(deactived) Brian Immel", "active": false, "timeZone": "America/Los_Angeles" }, "body": "[~ewieber], is this a known issue that should be called out in the SDK 6.0.0.Beta release notes?", "updateAuthor": { "name": "bimmel-defective", "key": "bimmel", "displayName": "(deactived) Brian Immel", "active": false, "timeZone": "America/Los_Angeles" }, "created": "2016-10-12T22:47:05.000+0000", "updated": "2016-10-12T22:47:05.000+0000" }, { "id": "398839", "author": { "name": "ewieber", "key": "ewieber", "displayName": "Eric Wieber", "active": false, "timeZone": "America/Los_Angeles" }, "body": "[~bimmel], Hans is investigating/fixing the issues found and they should either be resolved before Beta or will be pushed to 6.1.", "updateAuthor": { "name": "ewieber", "key": "ewieber", "displayName": "Eric Wieber", "active": false, "timeZone": "America/Los_Angeles" }, "created": "2016-10-13T16:16:19.000+0000", "updated": "2016-10-13T16:16:19.000+0000" }, { "id": "398869", "author": { "name": "hknoechel", "key": "hansknoechel", "displayName": "Hans Knöchel", "active": true, "timeZone": "Europe/Berlin" }, "body": "{quote}\r\n1. hidesBarsWhenKeyboardAppears can be set to true, but trying to set it back to false does not change how it functions. The bar still hides when the keyboard appears.\r\n{quote}\r\nThe value can only be set once per window, so we might update the docs there.\r\n{quote}\r\n2. hidesBarsWhenVerticallyCompact should hide the bar when an iPhone 5 is in Landscape mode (transitions to a vertically compact environment). It does not do this, for me.\r\n{quote}\r\nActually, we don't support specfic vertical-compact layouts. It's something that is configurable natively in Xcode, but our sizing works different. So I would remove that one from the PR.\r\n\r\n[~kopiro] Or did you see something?\r\n", "updateAuthor": { "name": "hknoechel", "key": "hansknoechel", "displayName": "Hans Knöchel", "active": true, "timeZone": "Europe/Berlin" }, "created": "2016-10-13T20:25:11.000+0000", "updated": "2016-10-13T20:25:11.000+0000" }, { "id": "399075", "author": { "name": "kopiro", "key": "kopiro", "displayName": "Flavio De Stefano", "active": true, "timeZone": "Europe/Rome" }, "body": "1) Ok, we should specify that can be set before opening.\r\n2) K!", "updateAuthor": { "name": "kopiro", "key": "kopiro", "displayName": "Flavio De Stefano", "active": true, "timeZone": "Europe/Rome" }, "created": "2016-10-17T08:22:12.000+0000", "updated": "2016-10-17T08:22:12.000+0000" }, { "id": "399217", "author": { "name": "hknoechel", "key": "hansknoechel", "displayName": "Hans Knöchel", "active": true, "timeZone": "Europe/Berlin" }, "body": "PR's to remove {{hidesBarsWhenVerticallyCompact}} and update the docs for the on-creation note:\r\n- master: https://github.com/appcelerator/titanium_mobile/pull/8521\r\n- 6_0_X: https://github.com/appcelerator/titanium_mobile/pull/8522", "updateAuthor": { "name": "hknoechel", "key": "hansknoechel", "displayName": "Hans Knöchel", "active": true, "timeZone": "Europe/Berlin" }, "created": "2016-10-18T11:01:12.000+0000", "updated": "2016-10-18T11:01:12.000+0000" }, { "id": "400672", "author": { "name": "ewieber", "key": "ewieber", "displayName": "Eric Wieber", "active": false, "timeZone": "America/Los_Angeles" }, "body": "Verified fixed, using:\r\nMacOS 10.12 (16A323)\r\nStudio 4.8.0.201611020954\r\nTi SDK 6.0.0.v20161109075403\r\nAppc NPM 4.2.8-9\r\nAppc CLI 6.0.0-69\r\nAlloy 1.9.4\r\nXcode 8.1 (8B62)\r\n\r\nThe updates/revisions to the PR now have {{hidesBarsWhenKeyboardAppears}} and hidesBarsWhenVerticallyCompact}} working as expected. The PR for 6_0_X is actually here: https://github.com/appcelerator/titanium_mobile/pull/8520 and looks good.", "updateAuthor": { "name": "ewieber", "key": "ewieber", "displayName": "Eric Wieber", "active": false, "timeZone": "America/Los_Angeles" }, "created": "2016-11-09T22:00:06.000+0000", "updated": "2016-11-09T22:00:06.000+0000" }, { "id": "401968", "author": { "name": "mdelmarter", "key": "mdelmarter", "displayName": "Matthew Delmarter", "active": true, "timeZone": "Pacific/Auckland" }, "body": "@Hans Knoechel - Regarding the comment \"we don't support specific vertical-compact layouts. It's something that is configurable natively in Xcode, but our sizing works different. So I would remove that one from the PR.\"\r\n\r\nThat explains a lot. I am trying to optimised my UI for the iPhone \"Plus\" sizes in landscape. When rotated to landscape it would be great if I could get the statusbar to hide, which is the default behaviour in most apps now.\r\n\r\nIs that the \"hidesBarsWhenVerticallyCompact\" support that we need in order to achieve the functionality I am after?\r\n\r\nShould I create a new ticket for this feature?", "updateAuthor": { "name": "mdelmarter", "key": "mdelmarter", "displayName": "Matthew Delmarter", "active": true, "timeZone": "Pacific/Auckland" }, "created": "2016-11-29T01:49:34.000+0000", "updated": "2016-11-29T01:49:34.000+0000" } ], "maxResults": 11, "total": 11, "startAt": 0 } } }