{ "id": "144630", "key": "TIMOB-18578", "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": "11", "description": "Is not a bug in our product", "name": "Not Our Bug" }, "resolutiondate": "2015-02-26T16:57:55.000+0000", "created": "2015-02-13T14:23:23.000+0000", "priority": { "name": "Critical", "id": "1" }, "labels": [ "ios", "popover", "statusbar" ], "versions": [ { "id": "16704", "description": "Release 3.5.0", "name": "Release 3.5.0", "archived": false, "released": true, "releaseDate": "2015-01-13" } ], "issuelinks": [], "assignee": { "name": "vduggal", "key": "vduggal", "displayName": "Vishal Duggal", "active": false, "timeZone": "America/Los_Angeles" }, "updated": "2017-03-28T22:58:27.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": "With the current TI SDK and iOS 8.1, whenever I show a popover in my iPad application, the iOS navigation bar is displayed automatically (the iPad wifi symbol, current time and battery symbol on top). As soon as the popover is closed, the ios nav bar is hidden again.\r\n\r\nHow can I prevent the iOS navigation bar from appearing?", "attachment": [ { "id": "54147", "filename": "app.js", "author": { "name": "bens", "key": "bens", "displayName": "Ben S", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2015-02-16T02:34:26.000+0000", "size": 625, "mimeType": "application/x-javascript" }, { "id": "54148", "filename": "iOS Simulator Screen Shot 16 Feb 2015 03.33.06.png", "author": { "name": "bens", "key": "bens", "displayName": "Ben S", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2015-02-16T02:34:26.000+0000", "size": 49543, "mimeType": "image/png" }, { "id": "54149", "filename": "iOS Simulator Screen Shot 16 Feb 2015 03.33.11.png", "author": { "name": "bens", "key": "bens", "displayName": "Ben S", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2015-02-16T02:34:26.000+0000", "size": 58635, "mimeType": "image/png" } ], "flagged": false, "summary": "iOS: When a popover shows, the iOS status bar is automatically displayed", "creator": { "name": "bens", "key": "bens", "displayName": "Ben S", "active": true, "timeZone": "America/Los_Angeles" }, "subtasks": [], "reporter": { "name": "bens", "key": "bens", "displayName": "Ben S", "active": true, "timeZone": "America/Los_Angeles" }, "environment": "TI SDK 3.5.0GA, iOS 8.1.3, iPad 4 or iOS Simulator", "comment": { "comments": [ { "id": "343260", "author": { "name": "bens", "key": "bens", "displayName": "Ben S", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Of course I've set \"fullscreen:true\" for my main application window, but this issue seems to be only related to the iOS popover UI element.", "updateAuthor": { "name": "bens", "key": "bens", "displayName": "Ben S", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2015-02-13T14:30:49.000+0000", "updated": "2015-02-13T14:30:49.000+0000" }, { "id": "343462", "author": { "name": "sliang", "key": "sliang", "displayName": "Shuo Liang", "active": true, "timeZone": "Asia/Harbin" }, "body": "Please provide a test case to reproduce your problem. That will be really helpful to address your issue. Thanks. \r\n\r\nHere is the [Guide|http://docs.appcelerator.com/titanium/3.0/#!/guide/How_to_Submit_a_Bug_Report-section-29004732_HowtoSubmitaBugReport-CreatingaTestCase] for test case. ", "updateAuthor": { "name": "sliang", "key": "sliang", "displayName": "Shuo Liang", "active": true, "timeZone": "Asia/Harbin" }, "created": "2015-02-16T00:57:17.000+0000", "updated": "2015-02-16T00:57:17.000+0000" }, { "id": "343470", "author": { "name": "bens", "key": "bens", "displayName": "Ben S", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Hi, I've added a simple app.js demonstrating the problem directly. You can also see the problem on the 2 screenshots I uploaded.\r\n\r\nScreenshot 1: before opening the popover\r\nScreenshot 2: ios status bar appearing as soon as the popover appears", "updateAuthor": { "name": "bens", "key": "bens", "displayName": "Ben S", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2015-02-16T02:35:14.000+0000", "updated": "2015-02-16T03:00:47.000+0000" }, { "id": "343471", "author": { "name": "sliang", "key": "sliang", "displayName": "Shuo Liang", "active": true, "timeZone": "Asia/Harbin" }, "body": "Do you mean when you open the popover, the iOS status bar in the top shows up?", "updateAuthor": { "name": "sliang", "key": "sliang", "displayName": "Shuo Liang", "active": true, "timeZone": "Asia/Harbin" }, "created": "2015-02-16T02:39:09.000+0000", "updated": "2015-02-16T02:39:09.000+0000" }, { "id": "343473", "author": { "name": "bens", "key": "bens", "displayName": "Ben S", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Yes, correctly. That is what's happening right now - but I don't want this to happen. \r\n\r\nIn my application I never want the ios status bar to appear, no matter what UI element I open.", "updateAuthor": { "name": "bens", "key": "bens", "displayName": "Ben S", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2015-02-16T02:45:06.000+0000", "updated": "2015-02-16T03:00:38.000+0000" }, { "id": "343475", "author": { "name": "sliang", "key": "sliang", "displayName": "Shuo Liang", "active": true, "timeZone": "Asia/Harbin" }, "body": "I see. I will forward this ticket to engineer team to see if there is something they can do.", "updateAuthor": { "name": "sliang", "key": "sliang", "displayName": "Shuo Liang", "active": true, "timeZone": "Asia/Harbin" }, "created": "2015-02-16T02:50:52.000+0000", "updated": "2015-02-16T02:50:52.000+0000" }, { "id": "344426", "author": { "name": "vduggal", "key": "vduggal", "displayName": "Vishal Duggal", "active": false, "timeZone": "America/Los_Angeles" }, "body": "Use a window proxy for the contentView and set fullscreen to true for that proxy as well\r\n{code}\r\nvar win = Ti.UI.createWindow({backgroundColor:\"white\", fullscreen:true});\r\n\r\nvar content_view = Ti.UI.createView({\r\n top:0,\r\n height:Ti.UI.SIZE,\r\n width:Ti.UI.SIZE,\r\n left:0\r\n});\r\n\r\nvar button = Ti.UI.createButton({\r\n left:200,\r\n top:400,\r\n width:100,\r\n height:50,\r\n title:\"Click\"\r\n});\r\nbutton.addEventListener(\"click\", function(e) {\r\n var popover = Ti.UI.iPad.createPopover();\r\n var popover_content_view = Ti.UI.createWindow({backgroundColor:\"blue\", width:200, height:200,fullscreen:true});\r\n popover.contentView = popover_content_view;\r\n popover.show({view:e.source, animation:true});\r\n});\r\n\r\ncontent_view.add(button);\r\n\r\nwin.add(content_view);\r\nwin.open();\r\n{code}", "updateAuthor": { "name": "vduggal", "key": "vduggal", "displayName": "Vishal Duggal", "active": false, "timeZone": "America/Los_Angeles" }, "created": "2015-02-26T16:51:43.000+0000", "updated": "2015-02-26T16:51:43.000+0000" }, { "id": "344428", "author": { "name": "vduggal", "key": "vduggal", "displayName": "Vishal Duggal", "active": false, "timeZone": "America/Los_Angeles" }, "body": "This is not a bug. Popovers on iOS8 are ViewControllers and hence control status bar appearance. On earlier versions they are not view controllers. \r\n\r\nOn the Titanium platform status bar appearance is controlled by the Window Proxy. So set the contentView property of the popover to a Window Proxy.", "updateAuthor": { "name": "vduggal", "key": "vduggal", "displayName": "Vishal Duggal", "active": false, "timeZone": "America/Los_Angeles" }, "created": "2015-02-26T16:57:55.000+0000", "updated": "2015-02-26T16:57:55.000+0000" }, { "id": "416085", "author": { "name": "lmorris", "key": "lmorris", "displayName": "Lee Morris", "active": false, "timeZone": "America/Los_Angeles" }, "body": "Closing ticket as the issue mentioned is not our bug.", "updateAuthor": { "name": "lmorris", "key": "lmorris", "displayName": "Lee Morris", "active": false, "timeZone": "America/Los_Angeles" }, "created": "2017-03-28T22:58:27.000+0000", "updated": "2017-03-28T22:58:27.000+0000" } ], "maxResults": 10, "total": 10, "startAt": 0 } } }