0

I get the behavior from the picture below. Basically the badge from the second tab it's under the third UITabBarItem image. The image from third tab it's composed from the camera icon and the green background.

I am assigning an image using:

UITabBarItem *tabItem3 = [self.tabBar.items objectAtIndex:3];
tabItem3.selectedImage = [[UIImage imageNamed:@"albumsSelected"]
                       imageWithRenderingMode:UIImageRenderingModeAlwaysOriginal];
tabItem3.image = [[UIImage imageNamed:@"albums"]
               imageWithRenderingMode:UIImageRenderingModeAlwaysOriginal];

Is there a way to fix this UI bug?

enter image description here

Meeshoo
  • 129
  • 11

0 Answers0