ios - Auto-layout: What creates constraints named UIView-Encapsulated-Layout-Width & Height? -
Some of the structures are right in my layout constraints Interface Builder, but introduce an exception to determine the height and width The sequence is thanks to the obstacles that I really do not want to do, why are they there, and how to stop them? They are the last two obstacles shown in the list of logs: Which gives my initial answer to the question here. The second question is why the obstacles were dissatisfied? The internal height of the cell should have been similar to
2014-04-26 09:02: 58.687 BBC News [32058: 60b] Unable to complete There is probably at least one obstacle in the following list that you do not want. Try it: (1) Look at each obstacle and try to figure out what you do not expect; (2) Get the code that connects unwanted obstacles or obstacles and can fix it. (Note: If you are looking at the NSAutoresizingMaskLayoutConstraints that you do not understand, see the documentation for the translation of the UIView Property Indexed MaskNet Consultants ("& lt; NSLayoutConstraint: 0xbf478a0 UIViewiew: 0xbf4a3c0.height == 0.28125 * UIView: 0xbf4a3c0.width & gt; ; "," & Lt; NSLayoutConstraint: 0xbf47190 UIView: 0xbf4a3c0.leading == BNMyNewsCell_landscape: 0xbf48b10.leading & gt; "" & lt; NSLayoutConstraint: 0xbf47160 UIView: 0xbf4a3c0.trailing == BNMyNewsCell_landscape: 0xbf48b10.trailing & gt; " & Lt; NSLayoutConstraint: 0xbf47130 BNMyNewsCell_landscape: 0xbf48b10.bottom == UIView: 0xbf4a3c0.bottom & gt; "," NSLayoutConstraint: 0xbf47100 UIView: 0xbf4a3c0.top == BNMyNewsCell_landscape: 0xbf48b10.top> "," & lt ; NSLayoutConstraint: 0xd4c3c40 'U IView-Encapsulated- layout width H [BNMyNewsCell_landscape: 0xbf48b10 (304)] & gt; "" & LT; NSLayoutConstraint: 0xd4c38a0 'UIView- explained layout-height' V: [BNMyNewsCell_landscape: 0xbf48b10 (290)] & gt; "} Break the obstacle & lt will try to fix; Nsla Yutknstrant: 0xbf478a0 UIView: 0xbf4a3c0khait == 0.28125 * Uiviav: 0xbf4a3c0kvidth & gt; Based on a ton of observations, I believe (but certainly do not know):
UIView- explained layout-height by
UICollectionView and went made friends, And are available to apply
for the returned size for the size ITENDExPath representative method. I would have to ensure that the end is that the
UICollectionViewCell is set by
cellForItemAtIndexPath size that it was told it would be.
UIView-Encapsulated-Layout-Height . Again, I do not know for certain, but I think it was a rounding error (ie internal height came to 200.1 pixels,
UIView- explained layout-height maybe 200 fixes I To reduce the priority of the relevant cell constraint to allow the round
UIView-Encapsulated-Layout-Height to keep the last word.
Comments
Post a Comment