【发布时间】:2022-11-26 11:25:52
【问题描述】:
使用(expo 的)GLView 运行 React Native 在 iOS 模拟器中可能有糟糕的性能,使其无法用于开发您的应用程序。
我的设置:
"expo": "~47.0.8",
"expo-gl": "~12.0.0",
"expo-three": "^7.0.0",
"react": "18.1.0",
"react-native": "0.70.5",
"three": "~0.145.0"
在 iOS 模拟器(iPhone 14Pro、iOS 16.1)中运行的 M1 Mac 上运行简单的旋转立方体场景会呈现很少的 FPS 同一个项目在安卓模拟器上完美运行(安卓13 SDK,API 33,像素设备)
可以做些什么来加速渲染?
【问题讨论】:
标签: ios reactjs react-native webgl ios-simulator