Status bar in landscape for iPhone X
Asked Answered
N

1

9

Is the status bar always hidden for iPhone X in landscape? It just won't display as before when testing in the simulator.

Update: No change with iPhone X simulator in Xcode 9.0.1.

Nealneala answered 10/10, 2017 at 12:19 Comment(12)
I am not sure, but its the bug in iOS 11Gary
I'm not sure it's a bug in iOS 11. The status bar is visible with the iPhone 8 (simulator). iOS 11.0.2 in both cases.Nealneala
ya I am also seen , but the problem is only in iphone-xGary
I checked in simulator iPhone x all the in-built App hide status bar in landscape modeTrussell
OK so we can maybe "safely" assume that Apple's intention is to always hide status bar in landscape mode for iPhone X. It's not a "bug" then?Nealneala
We can not say it is bug but might be hide for give more attractive look ? not sure ;(Trussell
@Nealneala - the bug report is filed : issues.apache.org/jira/browse/CB-13394Gary
it seems hidden on purpose as the safe-area is smaller in landscape mode on iPhone X slightly – comparing to an iPhone 7/8 screen.Tracheid
This is not specific to iOS 11 or the iPhone X. The status bar has been hidden in landscape on all iPhones/iPod touches since at least iOS 9.Adah
Are you sure? I’ve used status bars without problem on iOS 9/10/11 so far on all known iPhones until iPhone X. That said I have not confirmed this problem with a real device yet. While not that likely, there is still the possibility of a mistake in iOS.Nealneala
Xcode 9.0.1 was released with specific "fixes" for iPhone X simulator, but the status bar has not changed, which must mean the status bar is definitely gone. I don't think they missed this, this is on purpose.Nealneala
On iOS 11 all devices except iPhone X respect prefersStatusBarHidden method of VC. iPhone X just ignores it. Something wrong with iPhone X.Colin
N
5

I'm just gonna answer this for now since it seems like the comments from iPatel, Anbu.Karthik is on the spot.

iPhone X seems to force the status bar to be hidden in landscape.

At least Messages and Calendar of the default apps work this way. (All the other apps I tried actually crashes in the Simulator)

Nealneala answered 10/10, 2017 at 12:52 Comment(4)
I am not sure its hidden or frame will be modified, give a some time I checking my selfGary
see this the bug report is filed : issues.apache.org/jira/browse/CB-13394Gary
I've confirmed this with a real device. The status bar is just always hidden in landscape.Nealneala
Unfortunately this is probably not a bug and is intentional. I suppose we just need to get used to Apple making these sorts of decisions on our behalf.Matchbox

© 2022 - 2024 — McMap. All rights reserved.