Details
-
Bug
-
Status: Closed
-
Major
-
Resolution: Duplicate
-
cordova-ios 4.5.0
-
None
-
None
-
Mac OS 10.13.2, Xcode 9.2.0, cordova-cli 8.0.0, cordova-ios 4.5.4, cordova-plugin-statusbar 2.4.0
Description
Run "cordova prepare" on the attached sample project, open it in Xcode, run it in the iPhone X iOS 11.2 simulator, and attach a Safari debugger.
While in portrait mode, the status bar is visible. Type "window.innerHeight" into the Safari console. It will report 768.
Rotate to landscape, repeat the console command, and it will report 375.
Now rotate back to portrait. The status bar is gone. Repeat the command again, and it will report 812.
Why is the status bar disappearing?
We're still struggling to get our app working on the iPhone X....hope Cordova can iron out all the iPhone X bugs soon! 🙏