I have a tableview in my app and I have set tint=1.0
. In coding I am setting the background color to clear color. When I test in my iphone with iOS 4.3 it is showing the tableview properly but when I test in iphone with iOS 4.1 it is showing entire table in black color.
This is the code I have used to apply color in code
[cell setBackgroundColor:[UIColor clearColor]]; //changing backgroung color
UIView *bgColorView = [[UIView alloc] init];
[bgColorView setBackgroundColor:[UIColor darkGrayColor]];
[cell setSelectedBackgroundView:bgColorView]; //selected color
[bgColorView release];
What am I missing here?