Hi,
I use the Appearance to customise my tabbar and I set the "setSelectionIndicatorImage". This works fine. The problem is that when I reorder the tabs positions using the "More" edit button, the background of a selected tab is not showing up anymore. Instead, the default selection background is shown.
Here is how I customise it:
Here is the result (white background of the selected tab)
Now I reordered the tabs and a new tab is here but the background is not white
If I restart the app, the background show up correctly
What do I have to do so that the new tab items have also the custom background?
cheers
I use the Appearance to customise my tabbar and I set the "setSelectionIndicatorImage". This works fine. The problem is that when I reorder the tabs positions using the "More" edit button, the background of a selected tab is not showing up anymore. Instead, the default selection background is shown.
Here is how I customise it:
Code:
UITabBar *tabBarAppearance = [UITabBar appearance];
[tabBarAppearance setSelectionIndicatorImage:[theme tabBarSelectionIndicator]];
Here is the result (white background of the selected tab)

Now I reordered the tabs and a new tab is here but the background is not white

If I restart the app, the background show up correctly

What do I have to do so that the new tab items have also the custom background?
cheers