This looks like you are trying to push both the stack view and the detail view 
to the left and to the right at the same time, inconsistent with the overall 
horizontal constraint.

Isn’t the error message indicating that there is something wrong with the 
provided options? I’d experiment with those options to see what happens.

Should you be using top and bottom instead?

Tom Wetmore


> On Sep 14, 2015, at 5:35 AM, Dave <[email protected]> wrote:
> 
> myConstraintsArray = [NSLayoutConstraint 
> constraintsWithVisualFormat:@"H:[StackView]-(<=1)-[DetailView]" 
> options:NSLayoutFormatAlignAllLeft metrics:nil 
> views:myConstraintsViewDictionary];
>               
> myConstraintsArray = [NSLayoutConstraint 
> constraintsWithVisualFormat:@"H:[StackView]-(<=1)-[DetailView]" 
> options:NSLayoutFormatAlignAllRight metrics:nil 
> views:myConstraintsViewDictionary];


_______________________________________________

Cocoa-dev mailing list ([email protected])

Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com

Help/Unsubscribe/Update your Subscription:
https://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com

This email sent to [email protected]

Reply via email to