
[英]I try to integration with zooz sdk in ios but it give some error, so please provide me a right solution
[英]when cell reuse, the Xcode give me some error message,the ui display is right,hao to fix it
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.
(
<SnapKit.LayoutConstraint:0x6000035ab000@PostSourceCellView.swift#312 FireFly.TPHomeCellToolView:0x7ff22fe9fd60.height == 48.0>,
<SnapKit.LayoutConstraint:0x6000035aaca0@PostSourceCellView.swift#305 _TtC7FireFlyP33_1E1BC87F5260099B9FD953B13E11887D14InnerStackView:0x7ff22fe9fbd0.top == FireFly.PostSourceCellView:0x7ff22fe9e120.top>,
<SnapKit.LayoutConstraint:0x6000035aae80@PostSourceCellView.swift#310 FireFly.TPHomeCellToolView:0x7ff22fe9fd60.top == _TtC7FireFlyP33_1E1BC87F5260099B9FD953B13E11887D14InnerStackView:0x7ff22fe9fbd0.bottom>,
<SnapKit.LayoutConstraint:0x6000035ab060@PostSourceCellView.swift#313 FireFly.TPHomeCellToolView:0x7ff22fe9fd60.bottom == FireFly.PostSourceCellView:0x7ff22fe9e120.bottom - 5.0>,
<SnapKit.LayoutConstraint:0x6000035ab360@TPHomeCell.swift#69 FireFly.PostSourceCellView:0x7ff22fe9e120.top == UITableViewCellContentView:0x7ff22fe9f460.top>,
<SnapKit.LayoutConstraint:0x6000035ab300@TPHomeCell.swift#69 FireFly.PostSourceCellView:0x7ff22fe9e120.bottom == UITableViewCellContentView:0x7ff22fe9f460.bottom>,
<SnapKit.LayoutConstraint:0x6000035b58c0@TPHomeCellGameView.swift#126 FireFly.NTPGameAlbumPic:0x7ff22fea54d0.bottom == UIView:0x7ff22fea5360.bottom - 8.0>,
<SnapKit.LayoutConstraint:0x6000035b5800@TPHomeCellGameView.swift#124 FireFly.NTPGameAlbumPic:0x7ff22fea54d0.top == UIView:0x7ff22fea5360.top + 8.0>,
<SnapKit.LayoutConstraint:0x6000035b5740@TPHomeCellGameView.swift#121 UIView:0x7ff22fea5360.top == FireFly.TPHomeCellGameView:0x7ff22fea51c0.top>,
<SnapKit.LayoutConstraint:0x6000035b45a0@TPHomeCellGameView.swift#121 UIView:0x7ff22fea5360.bottom == FireFly.TPHomeCellGameView:0x7ff22fea51c0.bottom>,
<NSLayoutConstraint:0x600003218640 _TtC7FireFlyP33_1E1BC87F5260099B9FD953B13E11887D14InnerStackView:0x7ff22fe9fbd0.bottom == FireFly.TPHomeCellGameView:0x7ff22fea51c0.bottom>,
<NSLayoutConstraint:0x60000322d3b0 _TtC7FireFlyP33_1E1BC87F5260099B9FD953B13E11887D14InnerStackView:0x7ff22fe9fbd0.top == FireFly.TPHomeCellGameView:0x7ff22fea51c0.top>,
<NSLayoutConstraint:0x60000325b5c0 UITableViewCellContentView:0x7ff22fe9f460.height == 53>
)
Will attempt to recover by breaking constraint
<SnapKit.LayoutConstraint:0x6000035b58c0@TPHomeCellGameView.swift#126 FireFly.NTPGameAlbumPic:0x7ff22fea54d0.bottom == UIView:0x7ff22fea5360.bottom - 8.0>
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.