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.
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.
In Swift 3.0.1, you can do something like this
yourView.backgroundColor = UITableView().separatorColor
In iOS 15.5, Separator Color Value is:
let separatorColor = UIColor.separator
// R:0.24, G:0.24, B:0.26, A:0.29
By the way, you can get this value by "Debug View Hierarchy" in Xcode.