问题
I think that the iOS Statusbar doesn’t make sense when the device is landscape orientated. How can I make a Codename One app showing the Statusbar only on portrait?
回答1:
We'll add support for it in the code freeze which should land on the 20th.
landscapeTitleUiidBool should have impacted the status bar too so it would have the StatusBarLandscape UIID when running in landscape. See the discussion about the landscapeTitleUiidBool theme constant here: https://www.codenameone.com/blog/ios-back-command-behavior.html
To do this you would just need to override the StatusBarLandscape UIID and define landscapeTitleUiidBool to true.
来源:https://stackoverflow.com/questions/54712910/codename-one-ios-statusbar-on-landscape-orientation