question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

StatusBar barStyle prop not working when dark-mode activated on iOS 13 beta.

See original GitHub issue

On iOS 13 beta, I’m trying to change the style of the status bar using the StatusBar component, but it doesn’t work when the System’s Appearance is set to Dark. Note that it does work as expected when the System’s Appearance is light.

React Native version: 0.59.1

Steps To Reproduce

  1. On iOS 13 beta, change the system’s Appearance to Dark in Settings -> Developer.
  2. Try to set the barStyle prop on the StatusBar component to “dark-content”:

<StatusBar barStyle="dark-content" />

Describe what you expected to happen:

I expect the color of status bar elements (battery, network…) to be black, but they remain white.

Issue Analytics

  • State:closed
  • Created 4 years ago
  • Reactions:47
  • Comments:25 (1 by maintainers)

github_iconTop GitHub Comments

6reactions
WaveMeUpcommented, Jan 5, 2020

Same problem here

4reactions
fedarenchykcommented, Jan 24, 2020

@DenisSokoloff yes I am. On a serious note: upgraded to 0.61, and yes, it works 😉

I have “react-native”: “0.61.5”, But in iOS I do not see changes from dark and light 😦

+1

Read more comments on GitHub >

github_iconTop Results From Across the Web

Status Bar appearance not working as it should - with iOS 13 ...
When Dark Mode is OFF: I always get default status bar style even when I override status bar style in VC2. When Dark...
Read more >
barTintColor not working in iOS 15 | Apple Developer Forums
Hi,. When I run the following code in application(_ :didFinishLaunchingWithOptions) in iOS 15, the bar color turns transparent (thus, showing the black ...
Read more >
Change Log - CocoaPods
New helper methods to: deal with cutout paths that aren't anchored to a specific view;; update all coach mark properties at once. 2.0.1....
Read more >
Changelog | PSPDFKit for iOS
Fixes page changes using actions (e.g. links) not being animated when the destination page has a lower page index than the current page...
Read more >
@expo/configure-splash-screen | Yarn - Package Manager
You can use it to configure your native iOS and Android project according to your needs without opening Xcode or Android Studio.
Read more >

github_iconTop Related Medium Post

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found