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
  • 307,833
  • 40
  • 508
  • 550

3 Answers3

4

Try this:

tableView.separatorStyle = .none
Arun sharma
  • 631
  • 1
  • 7
  • 16
1

Set the following on your tableView object:

Swift:

tableView.separatorStyle = .none

Objective-C:

tableView.separatorStyle = UITableViewCellSeparatorStyleNone;
Johnny Rockex
  • 4,048
  • 3
  • 32
  • 52
Abdelahad Darwish
  • 5,783
  • 1
  • 16
  • 34
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,656
  • 1
  • 13
  • 25