If i was to have 3 UILabel
s on my view all next to each other, what would be the best approach for hiding the middle one, and the third one shift up and take it's space?
So for example:
First Line
Second Line
Third Line
If I just hide the second line, obviously it just doesn't show. It still takes up space. So I would end up with this:
First Line
Third Line
What would be considered the 'best' approach for making the Third line slip up into the Second lines space? I've been looking at the UICollectionView
, but that seems a bit extreme.
I could write a bunch of code that builds the view up, putting things in the order they should be, but that would involve a significant chunk of work, and I'm fairly certain there's a simpler way... Maybe I'm wrong!
Any help would be great!
Thanks.