Biinngg / iphoneebooks

Automatically exported from code.google.com/p/iphoneebooks
GNU General Public License v2.0
0 stars 0 forks source link

Feature request: Add an option to hide the iPhone status bar #99

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
I think that it would be interesting to add an option to the preferences to 
hide the iPhone status bar 
(the bar with the carrier, time and battery) It's quite distracting having it 
while read.

Original issue reported on code.google.com by guillerm...@gmail.com on 20 Feb 2008 at 10:21

GoogleCodeExporter commented 9 years ago
Should be easy enough to implement

Original comment by pendorbo...@gmail.com on 23 Feb 2008 at 6:13

GoogleCodeExporter commented 9 years ago
actually started to implement.  It is easy enough to replace the status bar by a
black bar but actually removing it may prove more tricky than expected.

Original comment by benoitce...@gmail.com on 6 Mar 2008 at 4:33

GoogleCodeExporter commented 9 years ago
Just wanted to stress that it should be indeed an option - I personally strongly
prefer time (and battery level) to be always visible.

Original comment by sergemak...@gmail.com on 10 Mar 2008 at 8:54

GoogleCodeExporter commented 9 years ago
no problem it will be an option if I figure out how to do it.

Original comment by benoitce...@gmail.com on 10 Mar 2008 at 9:17

GoogleCodeExporter commented 9 years ago
You can hide/enable the status bar in the main application via:
    [self setStatusBarMode:2 duration: 0.0f];
and restore it via
    [self setStatusBarMode:2 duration: 0.0f];

You also have to change the UIOrienting application code to be aware of it.  I 
just 
added a method to show/hide the status bar, 
- (void) hideStatus: (bool) b {
    [self setStatusBarMode:(b ? 2 : 0) duration: 0.0f];
    hideStatus = b;

} // hideStatus
and changed the code in setUIOrientation to take it into account
    float statusBar = hideStatus ? 0.0f : [UIHardware statusBarHeight];

Hope that helps,
-Jim

Original comment by pye...@gmail.com on 11 Apr 2008 at 3:38

GoogleCodeExporter commented 9 years ago
Sorry - meant to say

You can hide/enable the status bar in the main application via:
    [self setStatusBarMode:2 duration: 0.0f];
and restore it via
    [self setStatusBarMode:0 duration: 0.0f];
or if you want the black background status bar use
    [self setStatusBarMode:1 duration: 0.0f];

Original comment by pye...@gmail.com on 11 Apr 2008 at 11:07

GoogleCodeExporter commented 9 years ago
that will be usefull, I can't take care of it untill the monday of the week 
after
next though as I'll leave for Europe shortly for a week

Original comment by benoitce...@gmail.com on 11 Apr 2008 at 11:12

GoogleCodeExporter commented 9 years ago

Original comment by pendorbo...@gmail.com on 11 Jun 2008 at 3:31