[TIMOB-18578] iOS: When a popover shows, the iOS status bar is automatically displayed
GitHub Issue | n/a |
Type | Bug |
Priority | Critical |
Status | Closed |
Resolution | Not Our Bug |
Resolution Date | 2015-02-26T16:57:55.000+0000 |
Affected Version/s | Release 3.5.0 |
Fix Version/s | n/a |
Components | iOS |
Labels | ios, popover, statusbar |
Reporter | Ben S |
Assignee | Vishal Duggal |
Created | 2015-02-13T14:23:23.000+0000 |
Updated | 2017-03-28T22:58:27.000+0000 |
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.
How can I prevent the iOS navigation bar from appearing?
Attachments
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.
Please provide a test case to reproduce your problem. That will be really helpful to address your issue. Thanks. Here is the [Guide](http://docs.appcelerator.com/titanium/3.0/#!/guide/How_to_Submit_a_Bug_Report-section-29004732_HowtoSubmitaBugReport-CreatingaTestCase) for test case.
Hi, I've added a simple app.js demonstrating the problem directly. You can also see the problem on the 2 screenshots I uploaded. Screenshot 1: before opening the popover Screenshot 2: ios status bar appearing as soon as the popover appears
Do you mean when you open the popover, the iOS status bar in the top shows up?
Yes, correctly. That is what's happening right now - but I don't want this to happen. In my application I never want the ios status bar to appear, no matter what UI element I open.
I see. I will forward this ticket to engineer team to see if there is something they can do.
Use a window proxy for the contentView and set fullscreen to true for that proxy as well
This is not a bug. Popovers on iOS8 are ViewControllers and hence control status bar appearance. On earlier versions they are not view controllers. On the Titanium platform status bar appearance is controlled by the Window Proxy. So set the contentView property of the popover to a Window Proxy.
Closing ticket as the issue mentioned is not our bug.