At the top of my tab bar there is a faint, black line that won't go away. It is not in the original image. I have tried Clip To Bounds, changing the image tint and the background color.
Asked
Active
Viewed 19 times
0
-
Try removing the shadow image, the background image and setting the 'clipToBounds' property to true. ' tabBarController?.tabBar.shadowImage = UIImage() tabBarController?.tabBar.backgroundImage = UIImage() tabBarController?.tabBar.clipToBounds = true' – Houcem Eddine Soued Apr 08 '19 at 17:31
-
UITabBar.appearance().layer.borderWidth = 0.0 UITabBar.appearance().clipsToBounds = true – squarehippo10 Apr 08 '19 at 17:32