我确实用过
self.tableVIEw.estimatedRowHeight = 475;self.tableVIEw.rowHeight = UItableVIEwautomaticDimension;
有帮助吗?
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:0x174096530 UIImageVIEw:0x1743e9000.top == UItableVIEwCellContentVIEw:0x17418af80.topmargin + 13>","<NSLayoutConstraint:0x1740977f0 V:[PFImageVIEw:0x1743e8e00]-(0)-| (names: '|':UItableVIEwCellContentVIEw:0x17418af80 )>","<NSLayoutConstraint:0x174097840 V:[UIImageVIEw:0x1743e9000]-(24)-[PFImageVIEw:0x1743e8e00]>","<NSLayoutConstraint:0x174097890 H:|-(0)-[PFImageVIEw:0x1743e8e00] (names: '|':UItableVIEwCellContentVIEw:0x17418af80 )>","<NSLayoutConstraint:0x174097930 H:[PFImageVIEw:0x1743e8e00]-(0)-| (names: '|':UItableVIEwCellContentVIEw:0x17418af80 )>","<NSLayoutConstraint:0x174097ac0 PFImageVIEw:0x1743e8e00.wIDth == PFImageVIEw:0x1743e8e00.height>","<NSLayoutConstraint:0x174097b60 V:[UIImageVIEw:0x1743e9000(30)]>","<NSLayoutConstraint:0x174092ed0 'UIVIEw-Encapsulated-Layout-WIDth' H:[UItableVIEwCellContentVIEw:0x17418af80(375)]>","<NSLayoutConstraint:0x174092f20 'UIVIEw-Encapsulated-Layout-Height' V:[UItableVIEwCellContentVIEw:0x17418af80(44)]>")Will attempt to recover by breaking constraint <NSLayoutConstraint:0x174097b60 V:[UIImageVIEw:0x1743e9000(30)]>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.解决方法 我实际上解决了从图像约束底部更改优先级到750的问题.感谢您的帮助. 总结
以上是内存溢出为你收集整理的ios – Autolayout约束警告“将尝试通过打破约束来恢复”全部内容,希望文章能够帮你解决ios – Autolayout约束警告“将尝试通过打破约束来恢复”所遇到的程序开发问题。
如果觉得内存溢出网站内容还不错,欢迎将内存溢出网站推荐给程序员好友。
欢迎分享,转载请注明来源:内存溢出
评论列表(0条)