iphone8 plus 黑色获取手机信息 失效getSystemInfo
发布于 7 年前 作者 chaoluo 16305 次浏览 来自 问答
  • 当前 Bug 的表现(可附上截图)

刷新页面

  • 预期表现

不刷新页面

  • 复现路径

iphone8 plus  黑色获取手机信息 失效getSystemInfo  有替代方案吗?

  • 提供一个最简复现 Demo

需要真机测试,希望 官方 看一下问题,再贴  回答… 看了大部分帖子都是一样的回答…

console.log('posterHeight', posterHeight)
console.log('wx.getSystemInfoSync()', wx.getSystemInfoSync())
console.log('getSystemInfo', wx.getSystemInfo())
console.log('wx.canIUsegetSystemInfo', wx.canIUse('getSystemInfo'))
console.log('wx.canIUsegetSystemInfoSync', wx.canIUse('getSystemInfoSync'))
console.log('systemInfo', systemInfo)
console.log('systemInfo', systemInfo)
console.log('systemInfo.windowWidth', systemInfo.windowWidth)
1 回复

你好,测试iPhone6p是可以的,你有测试过其他的手机吗?是否仅iPhone8p不行?

回到顶部