I always thought that whatever changes I perform in layoutSubViews:
is done animated?
Is this incorrect information?
In my case I m inheriting from a UITableViewCell
.
The controller gets informed that the user wants to enlarge the cells, so I first use a UITableView
animation block to increase row height. The height increases smoothly animated to the new height.
Then I loop my visible cells, set a flag and call setNeedsLayout:
The cells indeed layout and adust the content to the new height but without animation.