Hello,
I have a image I would like to use as my section header In the viewForHeader in section I have the following code
The image I am making the section header is translucent but it appears dark green and solid in the iPhone simulator and on my iPhone.
Is there another way to make the header translucent?
I have a image I would like to use as my section header In the viewForHeader in section I have the following code
Code:
UIView *v = [[UIView alloc] initWithFrame:CGRectMake(0, 0, tableView.bounds.size.width, 40)];
UILabel *label = [[[UILabel alloc] initWithFrame:CGRectMake(0,0, tableView.bounds.size.width - 1,26)] autorelease];
label.text = title;
label.textColor = [UIColor whiteColor];
label.font = [UIFont fontWithName:@"Futura" size:14];
label.backgroundColor = [UIColor colorWithPatternImage:[UIImage imageNamed:@"section_bar_green_trans.png"]];;
[v addSubview:label];
The image I am making the section header is translucent but it appears dark green and solid in the iPhone simulator and on my iPhone.
Is there another way to make the header translucent?