I'm customising the UITabBar in my app. I have 3 tabs so when one is selected it has a background that spans 1/3 of the width of the screen. The only problem is, the screen is 320pt, so divide by 3 and we have a non-integer, thus leaving this horrible gap on the end. I set the background images of the selected state to 106pts and then tried it at 107pts, but that didn't help at all. Here is a picture of the TabBar demonstrating the nasty gap at the end.
It's quite hard to see, but it is there. Does anyone have advice as to how I can get rid of it. This is a subclassed UITabBar so obviously I can make modifications, but I would prefer to keep the fix as simple as possible.
Regards,
Mike