IPhoneX机型在getSystemInfoSync中的safeArea有误(IDE正确真机错误)

小游戏 企业微信 微信支付 小程序 文章 2020-07-30 17:30 1007 0 全屏看文

AI助手支持GPT4.0

IPhoneX机型在getSystemInfoSync中的safeArea有误(IDE正确真机错误)
框架类型 问题类型 API/组件名称 终端类型 微信版本 基础库版本
小游戏 Bug getSystemInfoSync 微信iOS客户端 getSystemInfoSync 2.12.0

left为0,实际上应该是33,而且这个safeArea的width和windowWidth好像出问题了(竖屏Or横屏),麻烦官方解答一下谢谢。

Framework type question type API / component name terminal type wechat version basic library version game bug getsysteminfosync wechat IOS client getsysteminfosync 2.12.0 left is 0, actually it should be 33. Moreover, there seems to be something wrong with the width and windowwidth of this safearea (vertical or horizontal screen), please answer it officially. Thank you. Code snippet https://developers.weixin.qq.com/s/aRW3S4mu7Rjw

回答:

小游戏运营专员-宏:

请具体描述问题出现的流程,并提供能复现问题的简单代码片段(https://developers.weixin.qq.com/miniprogram/dev/devtools/minicode.html)。

詹应威:已经提交了,请在IDE设定机型IPHONEX  和  IPHONEX真机中运行
詹应威:你好,请问有试过我提交的例子吗。
小游戏运营专员-宏:问题已知,下版本会进行修复。

-EOF-

AI助手支持GPT4.0