-
Notifications
You must be signed in to change notification settings - Fork 155
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Update my.getSystemInfo.md #2103
base: main
Are you sure you want to change the base?
Conversation
在模拟器调试中的safeAreaInsets四个坐标值为safeArea的值,safeArea的为safeAreaInsets的值(真机调试正常),已反馈到社区
| top | number | 安全区域左上角纵坐标 | | ||
| bottom | number | 安全区域右下角纵坐标 | | ||
| left | number | 安全区域左上角横坐标 | | ||
| right | number | 安全区域右上角横坐标 | |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
right、安全区域右下角横坐标。目前 safeArea 线上还是有问题的
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
已修改
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
已修改
safeArea 出参的话线上目前安卓是没有对齐的,所以暂时不予上线
| height | number | 安全区域的高度 | | ||
| width | number | 安全区域的宽度 | | ||
|
||
#### safeAreaInsets 返回值说明 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
没有 safeAreaInsets 这个出参
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
添加了safeAreaInsets和safeArea的介绍,其中在模拟器调试中的safeAreaInsets四个坐标值为safeArea的值,safeArea的为safeAreaInsets的值(真机调试正常),已反馈到社区