In Xcode in Device orientation section only "Portrait" is selected. On iPhone it works properly, when phone rotated to landscape mode it still works as portrait, so no changing. But on iPad (6th generation) when display is rotated to landscape mode actual screen in my app is also rotated, but without autoscaling. But I don't want that it will be possible to rotate screen on iPad. Do I need to fix it by code or some other settings on Xcode besides "Device Orientation" settings
1
votes


UIImageViewand 4 sliders. With a desire to emphasize the image, the sliders are either below or to the right of the image, depending on the orientation. Where I don't think this will help you is the the sliders do rotate and are horizontal always. But maybe this could give you a ways to build an orientation-based UI. One thing - you simply cannot accomplish this in a Storyboard. You need to activate/deactivate your constraints in code, after intercepting when the orientation changes. - dfd