Fabio Cenni Fabio Cenni - 1 year ago 89
Swift Question

Make navigationBar border invisible

As the tile says I simply need to find a way to make invisible the lower border of the navigationBar like the photo below:

enter image description here

could anyone help me?!

Answer Source

This is the code from that link, just add this in your AppDelegate.swift to make it global.

    forBarPosition: .Any,
    barMetrics: .Default)

UINavigationBar.appearance().shadowImage = UIImage()
Recommended from our users: Dynamic Network Monitoring from WhatsUp Gold from IPSwitch. Free Download