UITableView Custom Section Header, duplicate issue
I am having trouble animating a custom UITableView section header. The goal was to create collapsable sections. When I tap on the custom header the first time it animates as expected, however every time after that it leaves a duplicate in the original location and animates another. Image Example: My Custom Header: - (UIView *) tableView:(UITableView *)tableView viewForHeaderInSection:(NSInteger)section { UIView* customView = [[[UIView alloc]initWithFrame:CGRectMake(10.0, 0.0, 300.0, 44.0)]autorelease]; customView.backgroundColor = [UIColor lightGrayColor]; UILabel * headerLabel = [[[UILabel