I have a settings view controller with a table view. It is assumed that in the table view, its frame will be a frame of the view controller. My application only supports landscape mode, so I always have orientation.
However, when the settings view controller is loaded, the table view has the portrait mode of the view controller, even if it is in landscape (360 by 480, when it should be 480 by 360).
In addition, when I checked whether the device thought it was in portrait mode, it would return.
What causes the problem and how to fix it?
objective-c tableview uiinterfaceorientation viewcontroller
Mahir Oct 03 2018-11-11T00: 00Z
source share