Alejandra Alejandra - 1 year ago 92
iOS Question

What is the UIColor of the default UITableView separator?

Can anyone tell me the UIColor name or exact RGBA for the default iPhone UITableView separator?

It looks like a light gray color, but it's not

[UIColor lightGrayColor]
; it's lighter than that.

Answer Source

… in terms of CGContextSetRGBStrokeColor it should be:

CGContextSetRGBStrokeColor (
   CGContextRef c,
   CGFloat alpha

Quite simple and hopefully a solution for your problem.