Join GitHub today
Youtube video in WebView: StatusBar is gone after fullscreen (iOS 12) #62
React Native Environment Info:
I'm including a youtube video via a WebView.
When the video comes back from fullscreen the StatusBar is gone.
This happens since iOS 12. On iOS 11 this problem doesn't occure (technically in iOS 11 there is also a StatusBar disappear problem, but a little bit different, and I would like to focus on iOS 12 only for now).
A react-native project can be found here:
Kind of...The problem is to know when to hide and when to show the StatusBar. In the App I want to show the Bar. Only when the video is in fullscreen the bar should be hidden. I have to know when the video goes into fullscreen and when it leaves it. The question is: When do I call
On iOS I found a native solution: