1

I'm trying to remove these thin dark lines from the Xcode Search Bar Controller (see Image 1 below).

Image 1

I created a class but there is no property available for border-width (which looks like that was the solution in Objective-C)

Is this even a problem with the Search Bar, if I scroll up it looks like the line is part of my Navigation Controller, it looks like they might both create a thin line (see Image 2 below)

Image 2

Brewski
  • 654
  • 3
  • 14
  • 29
  • Try using the view debugger to see if you can see what it's attached to (or Reveal App if that's not good enough). It's the "Debug View Hierarchy" button in the debugger once you are on the screen you want to examine. – Lou Franco Jun 12 '17 at 18:35
  • It's called the 'hairline', just search for that. – koen Jun 12 '17 at 19:06
  • I think this is a better answer than the one in the 'duplicate': https://stackoverflow.com/questions/26390072/remove-border-in-navigationbar-in-swift/32405760#32405760 – koen Jun 13 '17 at 12:20

0 Answers0