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:
create a 1 pixel x 1 pixel clear image and call it clearPixel.png
toolbar.setShadowImage(UIImage(named: "clearPixel.png"), forToolbarPosition: UIBarPosition.any)