Note that there are some explanatory texts on larger screens.

plurals
  1. PO
    primarykey
    data
    text
    <p>The suggested code fix above from the incredibly helpful rdelmar works perfectly in portrait. Changing to landscape however produces this crash:</p> <pre><code>Unable to simultaneously satisfy constraints. Probably at least one of the constraints in the following list is one you don't want. Try this: (1) look at each constraint and try to figure out which you don't expect; (2) find the code that added the unwanted constraint or constraints and fix it. (Note: If you're seeing NSAutoresizingMaskLayoutConstraints that you don't understand, refer to the documentation for the UIView property translatesAutoresizingMaskIntoConstraints) ( "&lt;NSLayoutConstraint:0x941da50 V:|-(158)-[UITextView:0x9926000] (Names: '|':UIView:0x9449a30 )&gt;", "&lt;NSLayoutConstraint:0x9449a00 V:[UITextView:0x9926000]-(1044)-| (Names: '|':UIView:0x9449a30 )&gt;", "&lt;NSAutoresizingMaskLayoutConstraint:0x97b2d70 h=--&amp; v=--&amp; V:[UIView:0x9449a30(768)]&gt;" ) Will attempt to recover by breaking constraint &lt;NSLayoutConstraint:0x9449a00 V:[UITextView:0x9926000]-(1044)-| (Names: '|':UIView:0x9449a30 )&gt; Break on objc_exception_throw to catch this in the debugger. The methods in the UIConstraintBasedLayoutDebugging category on UIView listed in &lt;UIKit/UIView.h&gt; may also be helpful. </code></pre> <p>Now, I've cleared EVERY constraint from my detail view, and started over. The UILabel, UIToolBar and UITextView have all had their leading, trailing and top edges PINNED.</p> <p>The UITextView also had it's BOTTOM EDGE PINNED.</p> <p>And this bottom constraint is the one linked to the IBOutlet mentioned in the above post.</p> <p>Any more ideas what's going wrong?</p>
    singulars
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload