0

どの制約が競合するかを知るにはどうすればよいですか?

2014-10-26 12:31:55.713 MyApp[17769:2430918] 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. (Note: If you're seeing NSAutoresizingMaskLayoutConstraints that you don't understand, refer to the documentation for the UIView property translatesAutoresizingMaskIntoConstraints) 
(
    "<NSLayoutConstraint:0x79646340 V:[UIImageView:0x796475f0]-(0)-|   (Names: '|':UIView:0x79641bc0 )>",
    "<NSLayoutConstraint:0x796463a0 V:[UILabel:0x79636150'my settings']-(19)-[UIImageView:0x796475f0]>",
    "<NSLayoutConstraint:0x79646430 V:|-(20)-[UILabel:0x79636150'my settings']   (Names: '|':UIView:0x79641bc0 )>",
    "<NSAutoresizingMaskLayoutConstraint:0x79640030 h=-&- v=-&- UIView:0x79641bc0.height == _UITableViewHeaderFooterContentView:0x79639c70.height>",
    "<NSLayoutConstraint:0x7963a190 'UIView-Encapsulated-Layout-Height' V:[_UITableViewHeaderFooterContentView:0x79639c70(0)]>"
)

Will attempt to recover by breaking constraint 
<NSLayoutConstraint:0x796463a0 V:[UILabel:0x79636150'my settings']-(19)-[UIImageView:0x796475f0]>
4

1 に答える 1

0
于 2014-10-26T12:11:35.647 に答える