This was due to the image size
UITabBar badge position in iOS7 is not right
-
16-07-2023 - |
سؤال
The badge is not fully visible. it seems as if the other tabbaritem is partially covering it.
This it eh code i used to set the images on the tab bar:
selected = [[UIImage imageNamed:@"tab_new01.png"] imageWithRenderingMode:UIImageRenderingModeAlwaysOriginal];
image = [[UIImage imageNamed:@"tab_new01.png"] imageWithRenderingMode:UIImageRenderingModeAlwaysOriginal];
[tabBarItem3 initWithTitle:@"" image:image selectedImage:selected];
I read in several similar posts that is is hue to the images however, nobody explained what is works with the image and how to solve it.
See here screen shot
Sample similar question at Here
المحلول
لا تنتمي إلى StackOverflow