Limitations / features of the iOS storyboard for portrait and landscape views

My iOS project consists of one single UIView or UIViewController. The controller class is called MainViewController.swift. The view controller's view has a sub-layer that I placed below: enter image description here

I set the auto-layout option to keep the distance from the spy for the same size for each device: enter image description here

Now I want the subview always to be on the short side of the parent view, which means that in landscape mode, the subview view is to the right of the parent view: enter image description here

I checked several tutorials and other posts:

, ? , , :

  • ... ?
  • ?
  • - , , .
+4
2

. , .

, .

1) , .

2) . , , , .

enter image description here 3) , , .

enter image description here

4) , .

, , , .

, .

+3

iPad iPad , . , - :

  • a > , . , .
0

Source: https://habr.com/ru/post/1690628/


All Articles