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
Reply to Getting a "certificate is not trusted" error for iOS Distribution Certificate
Patel, you are a legend mate. From NZ with many thanks ~
Replies
Boosts
Views
Activity
May ’21
Reply to Individual badge ui on tab bar item
Just wanted to chime in and say I'm having the exact same issue (can only set badge styles for every tab at once). It doesn't seem to read the TabBarItem property appearance at all, i.e.viewController.TabBarItem.StandardAppearance = tabBarAppearance; is ignored
Topic: Programming Languages SubTopic: Swift Tags:
Replies
Boosts
Views
Activity
Nov ’21
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:
Replies
Boosts
Views
Activity
Nov ’21