UIWindow with wrong size when using landscape orientation

后端 未结 6 887
南旧
南旧 2020-12-08 21:27

I have an empty application and there is no storyboard or xib involved. I want to have a hidden status bar and support only landscape orientation. Again, I wan\'t to make th

6条回答
  •  不思量自难忘°
    2020-12-08 22:12

    None of the solutions posted here or elsewhere worked for me.

    However, I found that this issue apparently does not occur with Storyboards, so an alternative solution is to move away from xibs. (This fact sadly also makes it unlikely that Apple will take the problem seriously.)

提交回复
热议问题