1

I have no idea about showing black line while tap on header section in table view. Kindly share some idea about to fix this issue. enter image description here

rmaddy
  • 314,917
  • 42
  • 532
  • 579

3 Answers3

4

Try this:

tableView.separatorStyle = .none
Arun sharma
  • 642
  • 1
  • 7
  • 17
1

Set the following on your tableView object:

Swift:

tableView.separatorStyle = .none

Objective-C:

tableView.separatorStyle = UITableViewCellSeparatorStyleNone;
Johnny Rockex
  • 4,136
  • 3
  • 35
  • 55
Abdelahad Darwish
  • 5,969
  • 1
  • 17
  • 35
0

The black line is the separator you can remove it either from the storyBoard or through code

code self.tableView.separatorStyle = .none

or from storyBoard like

Aravind A R
  • 2,674
  • 1
  • 15
  • 25