I created a UITableView with a small frame, like (0,0,50,50). I want to disable the horizontal scrolling but keep the vertical scrolling.
UITableView
I set se
se
If you've applied tableView.contentInsetAdjustmentBehavior = , try selecting the value .scrollableAxes instead of .automatic or .always
tableView.contentInsetAdjustmentBehavior =
.scrollableAxes
.automatic
.always