# UITableView没有cell的地方不显示分割线

**URL:** <https://www.shiqidu.com/t/topic/479>\
**Category:** 开发调优\
**Tags:** C-C-Obj-C\
**Created:** [2018 年8 月 24 日 09:41 UTC](https://www.shiqidu.com/t/topic/479 "2018-08-24T09:41:16Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

作者： ![Eureka](https://www.shiqidu.com/user_avatar/www.shiqidu.com/eureka/32/5_2.png) [@Eureka](https://www.shiqidu.com/u/Eureka)\
发布日期： [2018 年8 月 24 日 09:41 UTC](https://www.shiqidu.com/t/topic/479/1 "2018-08-24T09:41:16Z")

</div>

一行代码搞定

```c
self.taskTable.tableFooterView = [UIView new];

```
