GitToTheHub commented on PR #1695: URL: https://github.com/apache/cordova-ios/pull/1695#issuecomment-5422183556
> window.statusbar.visible makes the status bar content and background visible or invisible, it does not impact the safe area insets at all Correct but the status bar is set initially to `self.statusBar.hidden = YES;` and when `showStatusBar:` is called, it will only change the alpha, not the hidden state: https://github.com/apache/cordova-ios/blob/f525ec9ec8b434f79928c66dff2bca06e178066d/CordovaLib/Classes/Public/CDVViewController.m#L896-L902 So the hidden state only depends on when `scrollViewDidChangeAdjustedContentInset:` is called. Anyway why is the alpha changed on the status bar? Would it be not enough to just hide it? -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected] --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
