iOS splash-screen status bar background color change to blue and text black

172 Views Asked by At

I have implemented a splash screen in native iOS for my react-native code, I need to set the status bar color of the splash screen to blue and the font color of the status bar to black, let me know if anyone has any idea about how to achieve this.

It is also okay if the solution is for the whole app.

enter image description here

1

There are 1 best solutions below

1
Abhishek Kumar Kushwaha On
  1. use safe area view

  2. <StatusBar backgroundColor={'blue'} barStyle={'dark-content'} />

  3. if you want this type in whole app then pass the same code in app.js file within navigation container or main view.