I have a UITbleViewCell with a few labels and image views using autolayout. It's populated by data from a feed and the feed doesn't contain data for all labels all the time. So in the code I do [self.myEmpyLabel
removeFromSuperview] and autolayout automagically sorts the spacing so it all looks good.
How do I reset everything again in the prepareForReuse???
Do I have to keep track manually of all constraints and add them back or is there a way to just reset the cell?
removeFromSuperview] and autolayout automagically sorts the spacing so it all looks good.
How do I reset everything again in the prepareForReuse???
Do I have to keep track manually of all constraints and add them back or is there a way to just reset the cell?