Rectangle 27 0

iphone UITableView covershides image?

UIView *container = [[UIView alloc] initWithFrame:CGRectMake(0,0,320,460)];
[container addSubview:tableView];
[container addSubview:headerView];
[container addSubview:footerView];

headerView.userInteractionEnabled = NO;
footerView.userInteractionEnabled = NO;

If you want the images onto of the UItableView consistently then place the UITableView and the two header/footer views as subviews of the same UIView and bring the header/footer views to the front. The trick would be to turn off their userInteraction to touches go through them to the UITableView below.

You should use tableHeaderView and tableFooterView to set UIViews at the top and bottom of your UITableView instances.