Centering UITableViewCell subviews when row heights vary in a UITableView?

The best way is probably to subclass UITableViewCell and to overwrite the layoutSubviews method.

Tables are designed with the assumption that the rows will scroll off the screen so they try to fill the screen. (1) Set the row height such that the bottom row is halfway off screen. The user will scroll up to see the last row and no obvious gap will exist between rows.

There will be dead space at the end but users expect that in a table. (2) Use section header and footer views to visually pad the space at the top and bottom of a single section to position it as you would like.

I cant really gove you an answer,but what I can give you is a way to a solution, that is you have to find the anglde that you relate to or peaks your interest. A good paper is one that people get drawn into because it reaches them ln some way.As for me WW11 to me, I think of the holocaust and the effect it had on the survivors, their families and those who stood by and did nothing until it was too late.

Related Questions