[AC-1013] ios fullscreen=true does not hide status bar
| GitHub Issue | n/a |
|---|---|
| Type | Bug |
| Priority | n/a |
| Status | Resolved |
| Resolution | Invalid |
| Resolution Date | 2014-12-02T00:34:42.000+0000 |
| Affected Version/s | n/a |
| Fix Version/s | n/a |
| Components | Alloy, Titanium SDK & CLI |
| Labels | ios |
| Reporter | Michael Stelly |
| Assignee | Shuo Liang |
| Created | 2014-11-29T15:58:18.000+0000 |
| Updated | 2016-03-08T07:37:20.000+0000 |
Description
I've tried -- unsuccessfully -- multiple variations of the same operation to hide the status bar on ios 7+.
In tiapp.xml
true
In TSS file
fullscreen:true
and in the JS file
(OS_IOS) && $.window.setFullscreen(true);
None of these methods work. The status bar is never hidden. I believe that functionality is bugged.
Hi, Please try the following test case, it works for my IOS device and simulators. (both IOS 7.1 and 8)
"#index": { backgroundColor:"white", fullscreen: true }, "Label": { width: Ti.UI.SIZE, height: Ti.UI.SIZE, color: "#000" }or this test case also works.
"#index": { backgroundColor:"white", }, "Label": { width: Ti.UI.SIZE, height: Ti.UI.SIZE, color: "#000" }Your test case, as written, throws an error.
should be written asFor my application, the above solution did not work. I finally got it working by placingin the XML.