ios - Constraints are not honoring size classes -
I am trying to convert iPhone and iPad storyboard into single which is known about size organs. For this, I need to change a particular image width between the iPhone and the iPad and enable / disable an obstacle on the iPad.
Here's my image width screenshots obstacle:
As I think that 230 should be used while running on iPhones and 400 otherwise, right?
Do not let the iPad I screenshots barrier to disabled:
Running on the iPhone 5/6/6 + simulator, I'm unable to complete the Is anything clear to me? Why is Xcode still using w: Any H: Any obstacles on running on iPhone? Can not easily put in a comment, so it is in an answer. Should show up with. If it is not, then something went wrong - try to rebuild the obstacle? constraints for a few reasons. Warning:
("NSLayoutConstraint: 0x7f99f17704e0H: [UIImageView: 0x7f99f1770370 (400)]>", "NSLayoutConstraint: 0x7f99f17718d0 Uiviewiew: 0x7f99f1771710 Width == IATextFieldEx: 0x7f99f1768be0.width + 160 & gt; "," & lt; NSLayoutConstraint: 0x7f99f1773210 UIImageView: 0x7f99f1770370.width == IATextFieldEx: 0x7f99f17639e0.width & gt; "," & lt; NSLayoutConstraint: 0x7f99f17734e0H: [UIView : 0x7f99f1771710] - (0) - | (name: '|': UIView: 0x7f99f1771620 - (0)) & gt; "," & lt; NSLayoutConstraint: 0x7f99f1773580 H: | - [UIView: 0x7f99f1771710] (name: '| ': UIView: 0x7f99f1771620) & gt; NSLayoutConstraint: 0x7f99f1492ce0' UIView-Encapsulated- Layout-width 'H: [UIView: 0x7f99f1771620 (320)]> "," NSLayo utConstraint: 0x7f99f1732250 IATextFieldEx: 0x7f99f1768be0.width of == IATextFieldEx: 0x7f99f17639e0.width & gt; ") to break the barrier & lt and Will try the corridor; Nslyutknstrant: 0x7f99f17718d0 UIView: 0x7f99fl77l7l0kvidth == Iatekstfieldeks: 0x7f99fl768be0kvidth + 160 & gt;
Comments
Post a Comment