I want to achieve consistent views on different screens. My layout limitations work fine on small screens, but they are scrambled on large screens.
I made a view (the red border denoting this view) and attached it to the main super-view. Then I did a sub view and placed it inside this view. I anchored the upper lower trailing and the leading edge of the layout, which contains a button for its parent view (Red border pointing to this view). The button containing the view looks like this on a small screen (iPhone 5).
while he looks at large screens like this one (iPhone 6 and above)
, , . ?
, UIView, , , , UIView. UIView , (= ). , UIView , . , StackView, , . StackView.
subview, , , . , .
Source: https://habr.com/ru/post/1655915/More articles:How to create a line chart using Matplotlib - pythonTrying to create a pandas series within a data frame with values based on whether the keys are in another data frame - pythonOpen CSV file in browser instead of loading HTML code - htmlDoes cspack.exe.NET 4.6 * support? - .net-4.6ReactJS: Show or hide an item only works the first time a button is clicked - javascriptПредупреждение "Назначение из несовместимого указателя" - cClick contents of caption of fixed position - javascriptCordoba "Image Installation Error" and "No Devices Found for Debugging" on Remote Assembly on Mac using Xcode - javascriptCSV файл - браузер открывает его вместо загрузки - phpHow to implement a private inner class in Ruby - ruby | fooobar.comAll Articles