- 发布:59 分钟前
- 更新:59 分钟前
- 阅读:44
【报Bug】xcode27.3打包 在 ios27.3 系统下,getSystemInfo 和 getWindowInfo 中的 safeAreaInsets top 都为 0
产品分类: uni小程序SDK
手机系统: iOS
手机系统版本号: iOS 26
手机厂商: 苹果
手机机型: iOS 27
页面类型: vue
SDK版本号: 4.85
操作步骤:
function getStatusbarHeight() {
return plus.navigator.isImmersedStatusbar()
? Math.round(plus.os.name === 'iOS'
? plus.navigator.getSafeAreaInsets().top
plus.navigator.getStatusbarHeight())
0;
}
预期结果:
正确的 top 高度
正确的 top 高度
实际结果:
实际为 0
实际为 0
bug描述:
xcode27.3打包 在 ios27.3 系统下,getSystemInfo 和 getWindowInfo 中的 safeAreaInsets top 都为 0
0 个回复