Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- cell.layoutIfNeeded()
- cell.setNeedsLayout()
- var size = cell.contentView.systemLayoutSizeFittingSize(UILayoutFittingCompressedSize)
- (
- "<NSLayoutConstraint:0x174291e40 UIView:0x174199f30.width == UIView:0x174199f30.height>",
- "<NSLayoutConstraint:0x174291e90 H:[UIView:0x174199f30]-(10)-| (Names: '|':UITableViewCellContentView:0x174199e60 )>",
- "<NSLayoutConstraint:0x174291ee0 V:[UIView:0x174199f30]-(19)-| (Names: '|':UITableViewCellContentView:0x174199e60 )>",
- "<NSLayoutConstraint:0x174291f30 H:|-(10)-[UIView:0x174199f30] (Names: '|':UITableViewCellContentView:0x174199e60 )>",
- "<NSLayoutConstraint:0x174291f80 V:|-(15)-[UIView:0x174199f30] (Names: '|':UITableViewCellContentView:0x174199e60 )>",
- "<NSLayoutConstraint:0x17029af40 'UIView-Encapsulated-Layout-Width' H:[UITableViewCellContentView:0x174199e60(600)]>",
- "<NSLayoutConstraint:0x17029af90 'UIView-Encapsulated-Layout-Height' V:[UITableViewCellContentView:0x174199e60(34)]>"
- )
- Will attempt to recover by breaking constraint
- <NSLayoutConstraint:0x174291e40 UIView:0x174199f30.width == UIView:0x174199f30.height>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement