加入收藏 | 设为首页 | 会员中心 | 我要投稿 李大同 (https://www.lidatong.com.cn/)- 科技、建站、经验、云计算、5G、大数据,站长网!
当前位置: 首页 > 百科 > 正文

ios – iPhone X的顶部条形高度是多少?

发布时间:2020-12-15 01:44:46 所属栏目:百科 来源:网络整理
导读:我想知道iPhone X顶部条的确切高度. 能不能提一下iPhone X的状态栏和导航栏高度. 请帮帮我. 解决方法 The display on iPhone X,however,is 145pt taller than a 4.7″ display,resulting in roughly 20% additional vertical space for content. 有关更多信
我想知道iPhone X顶部条的确切高度.
能不能提一下iPhone X的状态栏和导航栏高度.
请帮帮我.

enter image description here

解决方法

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

有关更多信息,请从apple documents获取iphone X的HIG,并在here1和here2获取详细说明

enter image description here

状态栏高度

以前20pt,现在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

肖像

导航栏高度为正常88和大标题时间140

>标准标题 – 44pt(状态栏为88pt)
>大标题 – 140pt
>底栏 – 34pt

景观

>标准标题 – 32pt>底栏 – 21pt

(编辑:李大同)

【声明】本站内容均来自网络,其相关言论仅代表作者个人观点,不代表本站立场。若无意侵犯到您的权利,请及时与联系站长删除相关内容!

    推荐文章
      热点阅读