## AutoLayoutのconstraintsエラー
UIImageView
のtopMargin
にエラーが起こっているかと思いますが、
具体的な対処法を教えて頂けると嬉しいです。????
## エラー
error
1[LayoutConstraints] Unable to simultaneously satisfy constraints. 2 Probably at least one of the constraints in the following list is one you don't want. 3 Try this: 4 (1) look at each constraint and try to figure out which you don't expect; 5 (2) find the code that added the unwanted constraint or constraints and fix it. 6( 7 "<NSLayoutConstraint:0x6000032f6cb0 V:|-(0)-[UIImageView:0x7f9a42e0d1e0] (active, names: '|':UITableViewCellContentView:0x7f9a42e0ce40 )>", 8 "<NSLayoutConstraint:0x6000032f6f80 UIImageView:0x7f9a42e0d1e0.top == UITableViewCellContentView:0x7f9a42e0ce40.topMargin (active)>", 9 "<NSLayoutConstraint:0x6000032f7a70 'UIView-topMargin-guide-constraint' V:|-(11)-[UILayoutGuide:0x6000028ef020'UIViewLayoutMarginsGuide'] (active, names: '|':UITableViewCellContentView:0x7f9a42e0ce40 )>" 10) 11 12Will attempt to recover by breaking constraint 13<NSLayoutConstraint:0x6000032f6f80 UIImageView:0x7f9a42e0d1e0.top == UITableViewCellContentView:0x7f9a42e0ce40.topMargin (active)> 14 15Make a symbolic breakpoint at UIViewAlertForUnsatisfiableConstraints to catch this in the debugger. 16The methods in the UIConstraintBasedLayoutDebugging category on UIView listed in <UIKitCore/UIView.h> may also be helpful.
## 参考サイト
https://qiita.com/akatsuki174/items/6935bb6ff64f4df51c5a
質問は以上です。
お時間あるときに、ご返信頂けましたら幸いです????
回答1件
あなたの回答
tips
プレビュー
バッドをするには、ログインかつ
こちらの条件を満たす必要があります。