Skip to content

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

Closed
@cuttlas

Description

@cuttlas

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    BugComponent: StatusBarPlatform: iOSiOS applications.StaleThere has been a lack of activity on this issue and it may be closed soon.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions