Swift 加载ui时自动布局

Swift 加载ui时自动布局,swift,uitableview,Swift,Uitableview,当我的视图加载时,某些内容会导致延迟并打印此错误 我对此一无所知 请帮忙 2018-05-16 17:07:13.985160+0430 EligashtIOSApp[15125:2090232] [LayoutConstraints] Unable to simultaneously satisfy constraints. Probably at least one of the constraints in the following list is one you don't want.

当我的视图加载时,某些内容会导致延迟并打印此错误 我对此一无所知 请帮忙

2018-05-16 17:07:13.985160+0430 EligashtIOSApp[15125:2090232] [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:0x119492690 UIButton:0x11bcb9d60'\Ue634'.bottom == UIView:0x11b9be6f0.bottom + 50   (active)>",
    "<NSLayoutConstraint:0x11b952d50 UIButton:0x11bcb9d60'\Ue634'.bottom == UIView:0x11b9be6f0.bottom   (active)>"
)

Will attempt to recover by breaking constraint 
<NSLayoutConstraint:0x119492690 UIButton:0x11bcb9d60''.bottom == UIView:0x11b9be6f0.bottom + 50   (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.
2018-05-16 17:07:13.985160+0430 EligashtIOSApp[15125:2090232][LayoutConstraints]无法同时满足约束。
可能下面列表中至少有一个约束是您不想要的。
试试这个:
(1) 看看每一个约束,试着找出你不期望的;
(2) 找到添加了不需要的约束的代码,然后修复它。
(
"",
""
)
将尝试通过打破约束进行恢复
在UIViewAlertForUnsatifiableConstraints处创建一个符号断点,以便在调试器中捕获该断点。
中列出的UIView上UIConstraintBasedLayoutDebugging类别中的方法也可能会有所帮助。

您有两个约束相互冲突。您有一个约束,表示按钮应该距离UIView底部50 px,还有一个约束,表示按钮应该距离同一视图底部0 px。这两种情况不可能同时发生,因此您需要删除其中一种。

给您。。。将()包围的内容粘贴到其中。它不是我的,但非常有用:D很容易看到自动布局冲突的情况:D