1

I'm trying to change the statusBar background color, but the property only works on Android. I tried all kinds of examples to try to modify it on iOS, but nothing has worked so far. The last thing I tried is the best answer from this question. Needless to say, it didn't worked either.

I'm currently working on Xcode 12 with the iOS 14 SDK.

Daniel Corona
  • 839
  • 14
  • 34

1 Answers1

4

use react-native-safe-area-context instead SafeAreaView and customize it.

see my answer here
.

enter image description here

Ahmed Gaber
  • 3,384
  • 2
  • 12
  • 18