1

I wish to retain the navigationBar background color and image, but don't know how to remove (only) the border color.

Aweda
  • 323
  • 1
  • 4
  • 15
  • 1
    Possible duplicate of [How to hide iOS7 UINavigationBar 1px bottom line](https://stackoverflow.com/questions/19226965/how-to-hide-ios7-uinavigationbar-1px-bottom-line) – Hexfire Oct 26 '17 at 09:14

1 Answers1

1

In Swift 3, I figured it out by simply doing this:

self.navigationController?.navigationBar.shadowImage = UIImage();
Aweda
  • 323
  • 1
  • 4
  • 15