I got an UITableView on my project and I need to customize the separator. I want to use an image instead of a color. I tried using the +colorWithPatternImage: UIColor method with no luck.
+1
A:
As far as I know you can't. What you can do however is to set the separator to none and then add the image you want to use as a separator to the cell view.
Ron Srebro
2010-07-31 12:38:18
Ended up using your solution. Thanks!
Fernando Valente
2010-07-31 16:30:11
+2
A:
use this code i use it in my application this will work
UIColor *color = [UIColor colorWithPatternImage:[UIImage imageNamed:@"image name"]];
[self.tableview setSeparatorColor:color];
priyanka
2010-07-31 12:54:16