Did you find a solution?
Post
Replies
Boosts
Views
Activity
I have the same problem. Any solution to this?
I solved the rotation problem by locking and unlocking the device rotation from the control center of the iOS device while debugging the app.
So the steps are:
1) run your app with XCode
2) open control center in your device and lock the screen rotation, then unlock it again
3) close the control center and now the rotation should work
Unfortunately you have to repeat this every time...
Anyway this is just a workaround, I was hoping to find what was causing it in my code but I found no clues. I hope this trick is going to work for you too.
I have the same problem. Running Xcode 12.3 on OSX 10.15.7, while debugging a project on an iPhone X with iOS 14.3.
I'm currently trying to understand what is causing the issue because I have no problem with other projects. I'll update the answer if I find a solution.