I have set my UIToolBar tint color to some value, and there is this border line that I see in which I want to remove:
navigationController?.toolbar.barTintColor = .white navigationController?.toolbar.setShadowImage(UIImage(), forToolbarPosition: .any)