What is the UIColor of the default UITableView separator?

前端 未结 12 1599
没有蜡笔的小新
没有蜡笔的小新 2021-01-31 15:09

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 lightGrayC

12条回答
  •  醉话见心
    2021-01-31 15:26

    … in terms of CGContextSetRGBStrokeColor it should be:

    CGContextSetRGBStrokeColor (
       CGContextRef c,
       224.0/255.0,
       224.0/255.0,
       224.0/255.0,
       CGFloat alpha
    );
    

    Quite simple and hopefully a solution for your problem.

提交回复
热议问题