You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
On iOS 7 (if I am not mistaken) Apple introduced two new properties to UIViewController: topLayoutGuide and bottomLayoutGuide. These properties can be passed as is to auto layout as constraint items. In iOS 7 and 8 these are actually UIView objects that implements the UILayoutSupport protocol and as UIViews they fit well as layout items for Masonry.
However on iOS 9 these layout guides are of kind UILayoutGuide which is not a subclass of UIView, this causes [MASViewConstraint setSecondViewAttribute:] raise an assertion exception when the second attribute is a layout guide.
The text was updated successfully, but these errors were encountered:
On iOS 7 (if I am not mistaken) Apple introduced two new properties to
UIViewController
:topLayoutGuide
andbottomLayoutGuide
. These properties can be passed as is to auto layout as constraint items. In iOS 7 and 8 these are actuallyUIView
objects that implements theUILayoutSupport
protocol and asUIView
s they fit well as layout items for Masonry.However on iOS 9 these layout guides are of kind
UILayoutGuide
which is not a subclass ofUIView
, this causes[MASViewConstraint setSecondViewAttribute:]
raise an assertion exception when the second attribute is a layout guide.The text was updated successfully, but these errors were encountered: