0

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.

enter image description here

Tamás Sengel
  • 55,884
  • 29
  • 169
  • 223
squarehippo10
  • 1,855
  • 1
  • 15
  • 45
  • 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

0 Answers0