Post

Replies

Boosts

Views

Activity

Reply to Individual badge ui on tab bar item
To clarify the above: The currently active tab TabBarItem.StandardAppearance is used for ALL tabs (unless not specified, in which case it falls back on the TabBar.StandardAppearance of the main UITabBarController). So when switching between tabs which each have badge styles set, the badge styles of all tabs will change to the currently active tab's badge style. Therefore with the current functionality it does NOT seem possible to set individual badge styles per tab, as when doing so activating each tab changes the style of the others. This is not consistent with the old way (TabBarItem.BadgeColor/TabBarItem.SetBadgeTextAttributes), which allowed you to set styles for each tab as they don't switch between styles when opening tabs.
Topic: Programming Languages SubTopic: Swift Tags:
Nov ’21