该模块用于应用程序的开发https://docs.expo.io/versions/latest/sdk/screen-orientation/
在这里申请
https://snack.expo.io/@lenadgit/screen-orientation-module
应用程序的任务:垂直方向(纵向)- 5 秒后加载图片,当您转动智能手机时(横向)- 图片消失。更改方向的脚本不起作用。使用计时器调用图片的代码本身有效(此代码在构造函数中被注释掉)。可能是什么问题呢?
模块被导入到文件 import { ScreenOrientation } from 'expo' 或者在模块函数中使用它的脚本逻辑中的某处有错误?