iOS Status Bar orientation

#1

I am trying to lock screen orientation to landscape right. In my app.json I have specified "orientation": "landscape" but that did not seem to lock orientation for the app. I then used Expo.ScreenOrientation.allow(Expo.ScreenOrientation.Orientation.LANDSCAPE_RIGHT); which worked. Now I am noticing strange behavior in which the app stays locked but the status bar is still rotating.

#2

hi, what version of expo are you using? Can you provide a small reproducible test case?

#3

Had this same thing happen to me. It occurs off and on. There’s a related issue for it.

1 Like
#4

I also experienced the same case as in the GitHub issue, it is on and off for me. After creating a snack the behavior was gone. It went away in my app as well. Will report back if I notice it again and have more info.

Version info: “expo”: “^23.0.0”, “react”: “16.0.0”, “react-native”: “https://github.com/expo/react-native/archive/sdk-23.0.0.tar.gz”, and the latest version of Expo XDE (23.0.0).

1 Like
#5

@mc10 – let’s continue handling this issue on the GitHub issue since we keep track of that internally too. You should be able to receive support there as you need. :smile:

1 Like