Changes

Implementing iPad iOS 6 Auto Layout Constraints in Code

28 bytes added, 19:54, 27 October 2016
m
Text replacement - "<table border="0" cellspacing="0">" to "<table border="0" cellspacing="0" width="100%">"
<googlehtmlet>BUY_IOS6_IPADios9_upgrade</googlehtmlet>
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 20-1.
<googlehtmlet>ADSDAQBOX_FLOWadsdaqbox_flow</googlehtmlet>
[[Image:ios_6_autolayout_view_heirarchy.png|iOS 6 Auto Layout View Hierarchy Diagram]]
<googlehtmlet>BUY_IOS6_IPADios9_upgrade</googlehtmlet>
 
<htmlet>ezoicbottom</htmlet>
<hr>
<table border="0" cellspacing="0" width="100%">