F.SO4 F.SO4 - 4 months ago 10
iOS Question

UITableView scroller isn't stretching

I have a UITableView that contains 4 custom cells in different sizes.

For some reason, the

UITableView
's
scrollView
isn't stretching "outside the view and then automatically returns to the maximum position", it's just stops on the maximum position and doesn't stretches.

I have no idea why, can anyone help me?

Thank you!

Answer

If by stretching you mean "bouncing", then you should check the bounces property and set it to true:

tableView.bounces = true

Usually it's set to true by default, so you have probably disabled it somewhere in the code.

Comments