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];
If you are facing any programming issue, such as compilation errors or not able to find the code you are looking for.
Ask your questions, our development team will try to give answers to your questions.