Monday, February 21, 2011

Problem while disabling scrolling of UITableview

Hi, I am facing a problem while disabling the scrolling of table view.When i disabled the scrolling then the cells are not responding to user clicks,even delegates( like - (void)tableView:(UITableView *)tableView didSelectRowAtIndexPath:(NSIndexPath *)indexPath) are not firing .Still dont know how to resolve looking for a solution Thanks in advance....

From stackoverflow
  • Simply set the property scrollEnabled inside your UITableViewController code. I tested the following successfully:

    - (void)viewDidLoad {
        self.tableView.scrollEnabled = NO;
    }

0 comments:

Post a Comment