Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

What is the top bar height of iPhone X?

I would like to know exact height of top bar of iPhone X. Could you please mention the status bar and navigation bar height of iPhone X. Please help me.

enter image description here

like image 307
IKKA Avatar asked Sep 13 '17 12:09

IKKA


People also ask

What is the bar on iPhone X called?

With the lack of a physical home button of any kind with iPhone X, Apple has a new interaction metaphor: the home indicator. This is the thin bar that sits at the bottom of the iPhone screen.

What is the display size of iPhone X?

The iPhone X display has rounded corners that follow a beautiful curved design, and these corners are within a standard rectangle. When measured as a standard rectangular shape, the screen is 5.85 inches diagonally (actual viewable area is less).

What is the status bar on iPhone?

A status bar appears along the upper edge of the screen and displays information about the device's current state, like the time, cellular carrier, and battery level.


2 Answers

The display on iPhone X, however, is 145pt taller than a 4.7" display, resulting in roughly 20% additional vertical space for content.

for more information you get HIG for iphone X from apple documents and detail description in here1 and here2

enter image description here

status bar height

previously 20pt, now 44pt

Because of the sensors on top of the display, the new status bar is split in 2 parts. If your UI is doing something special with that space (previously 20pt high, now 44pt), because it will be taller on the iPhone X. Make sure that it can be dynamically changed in height. A great thing is that the height won’t be changed if a user makes a phone call or is using a navigation app, which was previously the case on other iPhones.

enter image description here

portrait

Navigation bar height as normal 88 and large title time 140

  • Standard title - 44pt (88pt with Status Bar)
  • Large title - 140pt
  • bottom bar - 34pt

Landscape

  • Standard title - 32pt
  • bottom bar - 21pt
like image 119
Anbu.Karthik Avatar answered Sep 22 '22 06:09

Anbu.Karthik


Nav bar is 44pt as usual (when no large titles) and the status bar has increased from 20pt to 44pt. Here's what you can type in the debugger to verify it:

enter image description here

like image 20
skensell Avatar answered Sep 21 '22 06:09

skensell