开发者

How to remove these horizontal lines from my UITableViews bottom?

开发者 https://www.devze.com 2023-03-22 00:45 出处:网络
My am seeing a horizontal line at the bottom of my table views section. I don\'t is it default or i accidentally have done something to that.

My am seeing a horizontal line at the bottom of my table views section. I don't is it default or i accidentally have done something to that. Please开发者_如何学Go see this screen shot for clarity.

How to remove these horizontal lines from my UITableViews bottom?


That's not the default, you've done that somehow. You've likely done it in tableView:cellForRowAtIndexPath:. Comment it out and see if it goes away.


OK i have figured it out. This is because of the delegate method, heightForRowAtIndexPath: Once i commented that out, its gone.


try setting your tableView background to the same as the views background, that should fix it!

0

精彩评论

暂无评论...
验证码 换一张
取 消