I set a custom indicator image for my UITabBar
like this
UIImage *tabBarSelectedImage = [[UIImage imageNamed:@"tabBar_selected"] resizableImageWithCapInsets:UIEdgeInsetsMake(0, 0, 0, 0)];
[[UITabBar appearance] setSelectionIndicatorImage:tabBarSelectedImage];
and get a 4px padding around my tabBarSelectedImage
. Is it possible to set that padding to 0px? So that my tabBarSelectedImage
fills the entire space and no border is visible?