Make a symbolic breakpoint at UIViewAlertForUnsatisfiableConstraints to catch this in the debugger.
最近碰见了一个Autolayout的相关警告,Google了一下发现了一个很不错的方式来调试类似的bug,分享一下:转自:http://stackoverflow.com/questions/26389273/how-to-trap-on-uiviewalertforunsatisfiableconstraints利用Autolayout进行布局时容易出现以下问题,比如约束歧义,约束多余等,这时候