I've read (and used) the code here which illustrates how to change the background color and border color of a UITableViewCell in grouped mode on the iPhone. I'm writing an app now which has a non-grouped UITableView and I need to change the border color of the cells. I know that I can modify the code and create a new background view and apply it, but is it necessary?
Is there an easy way to specify the border color of a UITableViewCell if it is a non-grouped style?
Source: Tips4all
By "border color" in a plain table view, do you mean the separator lines between the cells (default color gray)? You can customize this color for the whole table view via
ReplyDeletetableView.separatorColor = [UIColor blueColor];
See the UITableView reference.