加了 Alert Actionsheet 出來的吧, iOS12.x+ 的 bug。。。

2020-07-06 15:06:52.402824+0800 工作清單[52603:1407850] [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:0x600002ccc190 UIView:0x7f852ae49380.width == - 16 (active)>”
)

Will attempt to recover by breaking constraint
<NSLayoutConstraint:0x600002ccc190 UIView:0x7f852ae49380.width == - 16 (active)>

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

發表評論
所有評論
還沒有人評論,想成為第一個評論的人麼? 請在上方評論欄輸入並且點擊發布.
相關文章