判断是苹果:

uni.getSystemInfoSync().platform == 'ios'

安卓:

uni.getSystemInfoSync().platform === 'android'

 

判断是苹果:

uni.getSystemInfoSync().platform == 'ios'

安卓:

uni.getSystemInfoSync().platform === 'android'

 

相关文章:

  • 2021-07-14
  • 2021-07-11
  • 2022-01-17
  • 2021-11-25
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
猜你喜欢
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
相关资源
相似解决方案