简体   繁体   中英

iOS Change Cell border tint color

我的详细信息视图的截图,需要更改代码而不是故事板的颜色

The part of the cell that is orange, i did it with the storyboard, but i want to change it dynamically with the code. Anyone know what i need to change in my code to get it to work? I tried researching it, but no dice. Most of the colour changes i found were either for the background of the cell, the background for the table, the background for the text...etc.

尝试这个

self.tableView.separatorColor = [UIColor greenColor];

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM