Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Problem with styleLightContent() #10

Open
CoenWarmer opened this issue Dec 6, 2013 · 9 comments
Open

Problem with styleLightContent() #10

CoenWarmer opened this issue Dec 6, 2013 · 9 comments

Comments

@CoenWarmer
Copy link

styleLightContent() doesn't seem to work in iOS 7.0.4. I used the example app at https://github.com/phonegap-build/pgb-example-statusbar to test this. When clicking the 'light content status bar', nothing happens. Am I missing something here?

@bobeast
Copy link
Contributor

bobeast commented Dec 6, 2013

I just tried it and it worked as expected for me. If you are building on PhoneGap Build, let me know your AppID and I'll take a look.

@CoenWarmer
Copy link
Author

My appid is 615514. According to
http://community.phonegap.com/nitobi/topics/white_status_bar_with_pg_3_1_0_even_though_black_opaque_is_requestedthis
might have something to do with Phonegap 3.1.0 and Phonegap Build.

On Fri, Dec 6, 2013 at 9:42 PM, Bob Easterday [email protected]:

I just tried it and it worked as expected for me. If you are building on
PhoneGap Build, let me know your AppID and I'll take a look.


Reply to this email directly or view it on GitHubhttps://github.com//issues/10#issuecomment-30027593
.

@CoenWarmer
Copy link
Author

Any idea?

@bobeast
Copy link
Contributor

bobeast commented Dec 9, 2013

I tested it with your app on an iPhone 5 running iOS 7.0.4, and it is working as expected.

Note that if the background color of your status bar is white, and you use light content, it will appear as though the status bar is completely blank. Change to a different BG color to see the effect of light content.

Also remember, that light content is not supported on iOS 6, so on an iOS 6.x device light content will not have an affect.

@wildabeast
Copy link
Member

Closing as unreproducible.

@joernroeder
Copy link

I have the same issue here! I can still change the background-color and it worked with my local builds before. my appID is 793028. I'm using phonegap 3.3.0

@telepriest
Copy link

same here - no effect with styleLightContent
local build, ios7, phonegap 3.3.0

@wildabeast wildabeast reopened this Mar 6, 2014
@bau720123
Copy link

Hi @joernroeder and @telepriest
I don't know is it a issue (I think not)
I am using PGB 3.3 with iOS 7.0.6

when I use
StatusBar.styleDefault();
the status bar font't color will become black
when I use
StatusBar.styleLightContent();
the status bar font't color will become white (have effect)

@telepriest
Copy link

thank you for looking into it.
i'm pretty sure it is because of the way a view is set up as i can't do any changes in ios6 too ... must be a special case.
i will look into what causes that effect when i have a bit more time on my hand. luckily the other functions of this plugin work for me perfect and i'm not relying on styleLightContent at the moment.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

6 participants