Changes

Jump to: navigation, search

Implementing iOS 8 Auto Layout Constraints in Swift Code

No change in size, 18:02, 1 February 2016
m
Text replacement - "<google>ADSDAQBOX_FLOW</google>" to "<htmlet>adsdaqbox_flow</htmlet>"
In the case of a constraint that references a single view, the constraint must be added to the immediate parent of the view. When a constraint references two views, the constraint must be applied to the closest ancestor of the two views. Consider, for the purposes of an example, the view hierarchy illustrated in Figure 21-1.
<googlehtmlet>ADSDAQBOX_FLOWadsdaqbox_flow</googlehtmlet>
[[Image:ios_7_autolayout_view_hierarchy.png|The view hierarchy for an iOS 8 Auto Layout code example]]

Navigation menu