xcode - equal spacing between uiimageview using size class -


i'm trying add 4 or (more in future) uiimageview in ipad application landscape mode. want equal spacing between each uiimageview. used wregular hregular format build application , used few constraints, when try run application in simulator i'm getting different result different ipad devices. how can achieve having equal spaces between uiimageview irrespective size of screen ? below screen shots.

ipad2:enter image description here

ipad air : enter image description here

ipad retina : enter image description here

resizable ipad : enter image description here

auto layout system lets lay out app’s user interface creating mathematical description of relationships between elements. define these relationships in terms of constraints either on individual elements, or between sets of elements. using auto layout, can create dynamic , versatile interface responds appropriately changes in screen size, device orientation, , localization.

try link learn size classes , auto layout. http://www.appcoda.com/introduction-auto-layout/


Comments

Popular posts from this blog

javascript - AngularJS custom datepicker directive -

javascript - jQuery date picker - Disable dates after the selection from the first date picker -