Open aug2uag opened 7 years ago
hello all,
i'm trying to get animation on the cell to expand and reveal a detail view .. currently all elements are constrained to the cell ..
// Set scroll view to perpetually have same frame as self. Specifying relative to superview doesn't work, since the latter UITableViewCellScrollView has different behaviour. [self addConstraints:@[ [NSLayoutConstraint constraintWithItem:self.cellScrollView attribute:NSLayoutAttributeTop relatedBy:NSLayoutRelationEqual toItem:self attribute:NSLayoutAttributeTop multiplier:1.0 constant:0.0], [NSLayoutConstraint constraintWithItem:self.cellScrollView attribute:NSLayoutAttributeBottom relatedBy:NSLayoutRelationEqual toItem:self attribute:NSLayoutAttributeBottom multiplier:1.0 constant:0.0], [NSLayoutConstraint constraintWithItem:self.cellScrollView attribute:NSLayoutAttributeLeft relatedBy:NSLayoutRelationEqual toItem:self attribute:NSLayoutAttributeLeft multiplier:1.0 constant:0.0], [NSLayoutConstraint constraintWithItem:self.cellScrollView attribute:NSLayoutAttributeRight relatedBy:NSLayoutRelationEqual toItem:self attribute:NSLayoutAttributeRight multiplier:1.0 constant:0.0], ]];
is there any way to decouple the change in the cell size to maintain the original dimensions of self.cellScrollView?
self.cellScrollView
hello all,
i'm trying to get animation on the cell to expand and reveal a detail view .. currently all elements are constrained to the cell ..
SWTableViewCell.m
is there any way to decouple the change in the cell size to maintain the original dimensions of
self.cellScrollView
?