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 created the table view in the interface builder then there is an option check the scroll vertically and uncheck the horizontal scroll.
If you didn't then you should try create it in the interface builder and assign it to your IBOutlet
Hope it helps !