You can hide border with :
cell.separatorInset = UIEdgeInsetsMake(0.f, cell.bounds.size.width, 0.f, 0.0f);
and create a line under text
You can use the cell template provided by default. For example
UITablebiewCellStyleSubtitle
Set its properties and it should work.
The other option would be to create a custom cell
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.