How to disable the UITableView Scrolling either programmatically or in XIB?
To disable the UITableView Scroll in your iPhone application just follow the given steps..
If you are doing it from XIB then just unselect the following fields in inspector ...
- bounce horizontally
- bounce vertically and
- scroll horizontally
- scroll vertically
or if programmatically, set the tableView scroll to NO. I am sure it'll work. See the code below...
self.tableView.scrollEnabled = NO; OR [self.tableView setScrollEnabled:NO];