In landscape mode, Safari view header overlaps status bar
sachinrekhi opened this issue · comments
Why not dismiss the status bar prior to showing the Safari View?
Unfortunately the only way I know how to make the status bar show up in landscape mode in React Native is by modifying the AppDelegate.m on the Objective C side, which applies to all views. So I don't know how to programmatically disable it before showing the Safari view on the JS side as you suggest.
Ideally I was hoping that the Safari view can detect a status bar is being shown and add a padding if it is.
Sounds like this is what you're looking for.
This sounds like an app specific use case and I don't think it's the Safari View's responsibility to manage the display state of the status bar.