dpogue commented on PR #1695:
URL: https://github.com/apache/cordova-ios/pull/1695#issuecomment-5422286810

   > Anyway why is the alpha changed on the status bar? Would it be not enough 
to just hide it?
   
   We detect if the alpha is 0 and use that as the flag to hide the status bar 
content: 
https://github.com/apache/cordova-ios/blob/f525ec9ec8b434f79928c66dff2bca06e178066d/CordovaLib/Classes/Public/CDVViewController.m#L597-L602
   
   We can't rely on `visible` because `visible` is false when 
`viewport-fit=cover` but the status bar **content** should still be shown (just 
not the background)
   
   > So you mean when the WebView gets initialized it should always call 
scrollViewDidChangeAdjustedContentInset:?
   
   According to the WebKit source code, yes.
   
   If someone can put together a test case where that's not happening, I'd love 
to investigate.


-- 
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]

Reply via email to