Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

iOS UITableView how to disable scroll to bottom bouncing

I want to disable any scroll bouncing on my UITableView. For now I do it like that:

myTableView.bounces = NO;

But when I scroll to bottom of my list my content dont stop but back a little bit. How to disable this?

like image 771
AYMADA Avatar asked Dec 01 '22 16:12

AYMADA


1 Answers

Just uncheck the Bounce Vertically property of UITableView

enter image description here

This can also be done programmatically by setting the alwaysBounceVertical property to NO

like image 81
PunjabiCoder Avatar answered Dec 31 '22 23:12

PunjabiCoder