- Home /
iOS & cardboard screen rotation issue
I'm making a NYT VR like app and i give the user the opportunity to decide wether view the videos through a cardboard or simple mobile. after this choise, i rotate the screen (might sound an useless information, but i guess this is the real problem) using this code:
Screen.autorotateToLandscapeLeft = true;
Screen.autorotateToLandscapeRight = false;
Screen.autorotateToPortrait = false;
Screen.autorotateToPortraitUpsideDown = false;
Screen.orientation = ScreenOrientation.LandscapeLeft;
So this goes well if the user decides for the "standard" view without cardboard. But if he decides for the cardboard then i activate the VR using
Cardboard.SDK.VREnabled = true
and it all fucks up like this:
Has anybody a solution to this?
img-0063.png
(272.8 kB)
Comment
Your answer
![](https://koobas.hobune.stream/wayback/20220612080024im_/https://answers.unity.com/themes/thub/images/avi.jpg)
Follow this Question
Related Questions
Game view performance VS actual build performance 2 Answers
Using Unity for a IOS Menu Only 0 Answers
enable & disable VR on mobile 2 Answers
Reflect Fresnel Mobile VR 0 Answers
Rotate model with ARKit 0 Answers