xcode - Trying to understand Auto Layout -


i'm trying understand how use auto layout haven't been able wrap head around how accomplish using it. have ipad viewcontroller 2 subview views. i'd layout work in representation i'm not clear on values set. particularly relationship between 2 subviews:

auto layout help

the left view should pinned superview's top, left , bottom edges (with padding) it's right edge should pinned right view's left edge.

the right view should pinned superview's top, right , bottom edges (with padding). should have width constraint constant value, set appropriate number on rotation.

in ib, you'd create outlet width constraint. in code, assign property create it.


Popular posts from this blog

How to calculate SNR of signals in MATLAB? -

c# - Attempting to upload to FTP: System.Net.WebException: System error -

ios - UISlider customization: how to properly add shadow to custom knob image -