{ "id": "170460", "key": "TIMOB-25559", "fields": { "issuetype": { "id": "1", "description": "A problem which impairs or prevents the functions of the product.", "name": "Bug", "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": { "id": "3", "description": "The problem is a duplicate of an existing issue.", "name": "Duplicate" }, "resolutiondate": "2017-11-27T11:16:41.000+0000", "created": "2017-11-27T04:49:15.000+0000", "priority": { "name": "High", "id": "2" }, "labels": [], "versions": [], "issuelinks": [], "assignee": null, "updated": "2018-08-06T17:41:08.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": [], "description": " As [~l0wb1rd] and [~ben.bahrenburg@gmail.com] has put their comment in TIMOB-25267 -\r\n\r\nIf 'extendSafeArea = false' in a NavigationController and navBarHidden: true, safe area at the top is not respected. Only happens with navBarHidden on the window.\r\n\r\nSimilarly if 'extendSafeArea = false' in a TabGroup and 'tabBarHidden: true', safe area at the bottom is not respected.\r\n\r\nTest Case (NavigationBar) -\r\n\r\n\r\n{code:java}\r\nvar win = Titanium.UI.createWindow({\r\n backgroundColor: 'red',\r\n title: 'Red Window',\r\n extendSafeArea:false,\r\n navBarHidden: true,\r\n});\r\nwin.add(Ti.UI.createLabel({text: 'Hello from Top', top: 0}));\r\nwin.add(Ti.UI.createLabel({text: 'Hello from Bottom', bottom: 0}));\r\n \r\nvar nav = Titanium.UI.iOS.createNavigationWindow({\r\n window: win\r\n});\r\n \r\nnav.open();\r\n{code}\r\n\r\nTest Case (TabBar) - \r\n\r\n{code:java}\r\nvar win = Ti.UI.createWindow({\r\n backgroundColor: 'blue',\r\n extendSafeArea:false,\r\n tabBarHidden : true,\r\n});\r\nwin.add(Ti.UI.createLabel({text: 'I am at top',top: 0}));\r\nwin.add(Ti.UI.createLabel({text: 'I am at bottom',bottom: 0}));\r\n \r\nvar tab = Ti.UI.createTab({\r\n window: win,\r\n});\r\n\r\nvar tabGroup = Ti.UI.createTabGroup({\r\n tabs: [tab]\r\n});\r\ntabGroup.open();\r\n{code}", "attachment": [], "flagged": false, "summary": "iOS: extendSafeArea property not behave properly if tabBarHidden = true or navBarHidden = true.", "creator": { "name": "vijaysingh", "key": "vijaysingh", "displayName": "Vijay Singh", "active": true, "timeZone": "America/Los_Angeles" }, "subtasks": [], "reporter": { "name": "vijaysingh", "key": "vijaysingh", "displayName": "Vijay Singh", "active": true, "timeZone": "America/Los_Angeles" }, "environment": null, "closedSprints": [ { "id": 975, "state": "closed", "name": "2017 Sprint 24 SDK", "startDate": "2017-11-19T18:59:24.352Z", "endDate": "2017-12-03T18:59:00.000Z", "completeDate": "2017-12-04T23:20:14.151Z", "originBoardId": 114 } ], "comment": { "comments": [ { "id": "439987", "author": { "name": "emerriman", "key": "emerriman", "displayName": "Eric Merriman ", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Closing as a duplicate. If this is in error, please reopen.", "updateAuthor": { "name": "emerriman", "key": "emerriman", "displayName": "Eric Merriman ", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2018-08-06T17:41:08.000+0000", "updated": "2018-08-06T17:41:08.000+0000" } ], "maxResults": 1, "total": 1, "startAt": 0 } } }