Aweda
Aweda

Reputation: 473

How do I remove only the border color of NavigationBar in Swift?

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

Upvotes: 1

Views: 839

Answers (1)

Aweda
Aweda

Reputation: 473

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

self.navigationController?.navigationBar.shadowImage = UIImage();

Upvotes: 1

Related Questions