iOS Question Remove NavigationBar border

Semen Matusovskiy

Well-Known Member
Licensed User
Hi, guys --

As I understood stackoverflow's discussions (for example, ), it's necessary to set
navigationBar.setBackgroundImage(UIImage(), for: .default)
navigationBar.shadowImage = UIImage()
Sounds quite simple. I understand how to assign value to property, but I am not able to create empty image UIImage ()

Has anyone solved this problem ?
Last edited: