What is the UIColor of the default UITableView separator?

前端 未结 12 1727
没有蜡笔的小新
没有蜡笔的小新 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条回答
  •  萌比男神i
    2021-01-31 15:42

    UITableView * tempTable = [[UITableView alloc] init];
    
    [table setSeparatorColor:tempTable.separatorColor];
    [table setSeparatorStyle:tempTable.separatorStyle];
    table.backgroundView = tempTable.backgroundView;
    

提交回复
热议问题