简体   繁体   中英

Grouped UITableView bottom border

I have a small issue with a UITableView and it's background color. I am getting this strange footer at the end of the UITableView as you can see in the image below.

问题的样本

I've tried setting the border to [UIColor clearColor] but unfortunately that didn't help. Does anyone know why this is happening? (And how to fix it?)

Have you tried changing the separator style, either in Interface Builder or programmatically by setting your UITableView's separatorStyle property?

It looks like you may currently have this set to UITableViewCellSeparatorStyleSingleLineEtched , which is documented as follows. You could try UITableViewCellSeparatorStyleNone instead.

UITableViewCellSeparatorStyleSingleLineEtched
The separator cell has double lines running across its width, giving it an etched look. This style is currently only supported for grouped-style table views.

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