Discussion Forums  >  Plugins, Customizing, Source Code

Replies: 9    Views: 83

Don Javi
Aspiring developer
Profile
Posts: 91
Reg: Oct 08, 2011
Burriana
910
01/04/14 10:14 AM (11 years ago)

Status Bar, dark or transluced, is it possible?

I see the status bar, not hiding with BT3 and iOS, it's no problem for me. But it is clear, is there any way that is translucent or dark? Attention: I am referring to status bar, and not the Nav Bar Any idea? thanks
 
SmugWimp
Smugger than thou...
Profile
Posts: 6316
Reg: Nov 07, 2012
Tamuning, GU
81,410
like
01/04/14 06:39 PM (11 years ago)
You might try this: http://stackoverflow.com/questions/17678881/how-to-change-status-bar-text-color-in-ios-7 Be sure to look at the bottom of the 'accepted' answer for an addendum by paralogic. Cheers! -- Smug Edit: there seems to be a much more thorough explanation here: http://www.doubleencore.com/2013/09/developers-guide-to-the-ios-7-status-bar/
 
Niraj
buzztouch Evangelist
Profile
Posts: 2943
Reg: Jul 11, 2012
Cerritos
37,930
like
01/05/14 01:51 AM (11 years ago)
 
Don Javi
Aspiring developer
Profile
Posts: 91
Reg: Oct 08, 2011
Burriana
910
like
01/07/14 02:54 AM (11 years ago)
Thanks Niraj Shah and SmugWimp But I could not change the background of the Status Bar. You can only change the text style to black or white You can only change the text style to black or white The problem, I have only a CustomURL, you know if there is any way to remove the status bar CustomURL? Thanks for all
 
SmugWimp
Smugger than thou...
Profile
Posts: 6316
Reg: Nov 07, 2012
Tamuning, GU
81,410
like
01/07/14 03:53 AM (11 years ago)
You would need to alter the code of the plugin. Place this in your 'viewWillAppear' method, or someplace convenient: [[UIApplication sharedApplication] setStatusBarHidden:YES]; [self.navigationController setNavigationBarHidden:YES]; And put this entire method in (outside of any other method) to put them back before the plugin closes: -(void)viewWillDisappear:(BOOL)animated { [[UIApplication sharedApplication] setStatusBarHidden:NO]; [self.navigationController setNavigationBarHidden:NO]; } Cheers! -- Smug
 
Don Javi
Aspiring developer
Profile
Posts: 91
Reg: Oct 08, 2011
Burriana
910
like
01/07/14 04:06 AM (11 years ago)
Thanks for your answer. As you tell me this and paste that line? -(void)viewWillDisappear:(BOOL)animated { [[UIApplication sharedApplication] setStatusBarHidden:NO]; [self.navigationController setNavigationBarHidden:NO]; } Error: Use of undeclared identifier 'viewWillDisappear' Thanks again
 
Don Javi
Aspiring developer
Profile
Posts: 91
Reg: Oct 08, 2011
Burriana
910
like
01/07/14 05:27 AM (11 years ago)
I managed to put the code and I no errors, but does not work me. Continuing the status bar appear. Thanks anyway!
 
Niraj
buzztouch Evangelist
Profile
Posts: 2943
Reg: Jul 11, 2012
Cerritos
37,930
like
01/07/14 08:07 PM (11 years ago)
Setting the background color of navigation bar Using background image in navigation bar Customizing the color of back button Changing the font of navigation bar title Adding multiple bar button items Changing the style of status bar Hiding the status bar http://www.appcoda.com/customize-navigation-status-bar-ios-7/ -- Niraj
 
SmugWimp
Smugger than thou...
Profile
Posts: 6316
Reg: Nov 07, 2012
Tamuning, GU
81,410
like
01/07/14 08:16 PM (11 years ago)
Nice Niraj! I'm learning to hate iOS 7, lol! Cheers! -- Smug
 
Niraj
buzztouch Evangelist
Profile
Posts: 2943
Reg: Jul 11, 2012
Cerritos
37,930
like
01/07/14 08:44 PM (11 years ago)
Remember Smug, it's a new world !!! :-) All those status bar and navigation bar Changes can be managed via the Control Panel. It just needs a little TLC. I shall make that suggestion in the BuzzTouch v3 discussion. -- Niraj
 

Login + Screen Name Required to Post

pointerLogin to participate so you can start earning points. Once you're logged in (and have a screen name entered in your profile), you can subscribe to topics, follow users, and start learning how to make apps like the pros.