Fabio Cenni Fabio Cenni - 11 months ago 46
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?!


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()