2

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.

Sample of the issue

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?)

1 Answer 1

8
+50

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.

Sign up to request clarification or add additional context in comments.

1 Comment

You are right Clafou! I was reading on other questions that separatorStyle does not work on Grouped TableViews and didn't bother to try it anyway! Thanks!

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.