At this moment i am working on iPhone 5.0 simulator.In my tableview i have taken a uiview for each cell background color and this view has a background image.
Now, My problem is when my table containing controller load then in the- (UITableViewCell *)tableView:(UITableView *)tableView cellForRowAtIndexPath:(NSIndexPath *)indexPath
i have wrote this for table cell background.
cellView = [[[UIView alloc] initWithFrame:CGRectMake(0,8,250, 51)] autorelease];cellView.backgroundColor = [UIColor colorWithPatternImage:[UIImage imageNamed:@"order_text_area.png"]];cellView.tag =10;[cellView.layer setOpaque:NO];cellView.opaque = NO;[cell.contentView addSubview:cellView];
For keeping cell background transparent i have used this code and it works,But
[cellView.layer setOpaque:NO];cellView.opaque = NO;
when i select a cell then it goes it's corresponding controller.Now my problem is when i return back to my tableview controller then cell background do not keep in transparent view means cell view do not work on those code.So anybody help me. I am in serious problem.
NOTE THAT *I wanted to give a screen shot but unexpectedly in simulator i do not face this problem.*
Thanks In Advance.