Проблема с констрейнтами

constraints
swift

#1

Выдает такое, проверил все констрейнты, обратился к дебагеру (как описано) - проблема остается.

“2017-10-17 22:46:00.673667+0700 TestThings[56704:9406909] [LayoutConstraints] 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.
(
”<NSLayoutConstraint:0x600000285820 UILabel:0x7f806e637e40’\U0412\U0438\U0434 \U0438\U043d\U0444\U043e\U0440\U043c\U0430\U0446\U0438\U0438’.height == 13 (active)>",
"<NSLayoutConstraint:0x600000286fe0 UILabel:0x7f806e638110’\U041d\U0430\U0437\U0432\U0430\U043d\U0438\U0435 \U0441\U0442\U0430\U0442\U044c\U0438’.height == 15 (active)>",
"<NSLayoutConstraint:0x600000098290 UILabel:0x7f806e638400’\U0411\U044b\U043b\U0430 \U043b\U0438 \U0438\U043d\U0444\U043e\U0440\U043c\U0430\U0446\U0438\U044f \U0438\U0437\U0443\U0447\U0435\U043d…’.height == 13 (active)>",
"<NSLayoutConstraint:0x6000002883e0 V:|-(0)-[UILabel:0x7f806e637e40’\U0412\U0438\U0434 \U0438\U043d\U0444\U043e\U0440\U043c\U0430\U0446\U0438\U0438’] (active, names: ‘|’:UIStackView:0x7f806e637c40 )>",
"<NSLayoutConstraint:0x600000289ba0 UIStackView:0x7f806e637c40.top == UITableViewCellContentView:0x7f806e637830.topMargin + 12 (active)>",
"<NSLayoutConstraint:0x600000289bf0 UITableViewCellContentView:0x7f806e637830.bottomMargin == UIStackView:0x7f806e637c40.bottom + 10.5 (active)>",
"<NSLayoutConstraint:0x60400028c620 ‘UISV-canvas-connection’ V:[UILabel:0x7f806e638400’\U0411\U044b\U043b\U0430 \U043b\U0438 \U0438\U043d\U0444\U043e\U0440\U043c\U0430\U0446\U0438\U044f \U0438\U0437\U0443\U0447\U0435\U043d…’]-(0)-| (active, names: ‘|’:UIStackView:0x7f806e637c40 )>",
"<NSLayoutConstraint:0x604000286c20 ‘UISV-spacing’ V:[UILabel:0x7f806e637e40’\U0412\U0438\U0434 \U0438\U043d\U0444\U043e\U0440\U043c\U0430\U0446\U0438\U0438’]-(16)-[UILabel:0x7f806e638110’\U041d\U0430\U0437\U0432\U0430\U043d\U0438\U0435 \U0441\U0442\U0430\U0442\U044c\U0438’] (active)>",
"<NSLayoutConstraint:0x60400028a870 ‘UISV-spacing’ V:[UILabel:0x7f806e638110’\U041d\U0430\U0437\U0432\U0430\U043d\U0438\U0435 \U0441\U0442\U0430\U0442\U044c\U0438’]-(16)-[UILabel:0x7f806e638400’\U0411\U044b\U043b\U0430 \U043b\U0438 \U0438\U043d\U0444\U043e\U0440\U043c\U0430\U0446\U0438\U044f \U0438\U0437\U0443\U0447\U0435\U043d…’] (active)>",
"<NSLayoutConstraint:0x6040002897e0 ‘UIView-Encapsulated-Layout-Height’ UITableViewCellContentView:0x7f806e637830.height == 112 (active)>"
)

Will attempt to recover by breaking constraint
<NSLayoutConstraint:0x600000286fe0 UILabel:0x7f806e638110’Название статьи’.height == 15 (active)

Make a symbolic breakpoint at UIViewAlertForUnsatisfiableConstraints to catch this in the debugger.
The methods in the UIConstraintBasedLayoutDebugging category on UIView listed in <UIKit/UIView.h> may also be helpful."


#2

На это сообщение поступили жалобы от участников сообщества, поэтому оно временно скрыто.


#3

У вас есть констрейнты, которые противоречат друг другу!