提交 a2fdfa15 编写于 作者: DCloud-yyl's avatar DCloud-yyl

Update get-window-info.md

上级 83c32876
...@@ -18,7 +18,7 @@ ...@@ -18,7 +18,7 @@
app-android平台全屏模式下分安全区域字段说明: app-android平台全屏模式下分安全区域字段说明:
- safeArea.top : statusBarHeight - safeArea.top : statusBarHeight
- safeArea.bottom: statusBarHeight + 标题栏高度 + windowHeight + tabbar高度 - safeArea.bottom: statusBarHeight + 应用导航栏高度 + windowHeight + tabbar高度
- safeArea.height: safeArea.bottom - safeArea.top - safeArea.height: safeArea.bottom - safeArea.top
iOS端safeArea与iOS原生的安全区域概念相同,top与bottom分别对应`window.safeAreaInsets.top` `window.safeAreaInsets.bottom`,具体请参照[Apple文档](https://developer.apple.com/documentation/uikit/uiview/positioning_content_relative_to_the_safe_area) iOS端safeArea与iOS原生的安全区域概念相同,top与bottom分别对应`window.safeAreaInsets.top` `window.safeAreaInsets.bottom`,具体请参照[Apple文档](https://developer.apple.com/documentation/uikit/uiview/positioning_content_relative_to_the_safe_area)
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册